PETSC installing problems
807575Jan 27 2005 — edited Apr 14 2005Hope this is not off topic.
i'm trying to install PETSC 2.2.1, with solaris 10, studio 10 (Sun IDE 7.3 DEV 050107), and cc 5.7.
When i try to 'configure' before the compiling, i've got this error message :
***** Unable to configure with given options ***** (see configure.log for full details):
Could not find a functional BLAS. Run with --with-blas-lib=<lib> to indicate the library containing BLAS.
Or download-c-blas-lapack=1 or download-f-blas-lapack=1 to have one automatically downloaded and installed
Making some search in the configure.log, i've found that the compiler don't see the BLAS and LAPACK library included in the sunperf library.
================================================================================
Checking for a functional BLAS and LAPACK in Sun sunperf BLAS/LAPACK library
================================================================================
Checking for BLAS and LAPACK symbols
Checking for function ddot in library ['libsunperf.a', 'libsunmath.a', 'libm.a']
.....
Executing: cc -o conftest -PIC conftest.o -ldl -lsocket -lnsl -ldl -ldl -ldl -lm -R/export
/home/invites/occelli/lib/petsc-2.2.1/packages/fblaslapack/solaris2.10 -L/export/home/invites/o
ccelli/lib/petsc-2.2.1/packages/fblaslapack/solaris2.10 -lfblas -L/usr/local/mpich-1.2.6/lib -
L/opt/csw/gcc64/lib -L/usr/local/mpich-1.2.6/lib -L/opt/SUNWspro/lib -L/usr/openwin/lib -L/usr/
dt/lib -L/usr/lib -L/usr/ucblib -R/opt/SUNWspro/lib -L/opt/SUNWspro/lib -L/opt/SUNWspro/prod/li
b -L/usr/ccs/lib -L/lib -L/usr/lib -lfui -lfai -lfsu -lsunmath -lmtsk -lm
sh:
Possible ERROR while running linker: cc: No input file specified, no output generated
output: ret = 256
error message = {cc: No input file specified, no output generated
I succed in installing it on a solaris 9, and cc (Sun WorkShop 6 update 2 C 5.3 2001/05/15) . The configure.log file looks like this in the good case :
Defined HAVE_LIBSUNPERF to 1 in config.libraries
Defined HAVE_LIBSUNMATH to 1 in config.libraries
Defined HAVE_LIBM to 1 in config.libraries
So i tried to use the download feature of PETSC, with this command : --download-f-blas-lapack=ifneeded.
Nothing changed.
================================================================================
Checking for a functional BLAS and LAPACK in Downloaded BLAS/LAPACK library
================================================================================
....
Checking for BLAS and LAPACK symbols
Checking for function ddot in library ['***/petsc-2.2.1/packages/f
blaslapack/solaris2.10/libfblas.a']
....
Executing: cc -o conftest -PIC conftest.o -ldl -lsocket -lnsl -ldl -ldl -ldl -lm -R/export
/home/invites/occelli/lib/petsc-2.2.1/packages/fblaslapack/solaris2.10 -L/export/home/invites/o
ccelli/lib/petsc-2.2.1/packages/fblaslapack/solaris2.10 -lfblas -L/usr/local/mpich-1.2.6/lib -
L/opt/csw/gcc64/lib -L/usr/local/mpich-1.2.6/lib -L/opt/SUNWspro/lib -L/usr/openwin/lib -L/usr/
dt/lib -L/usr/lib -L/usr/ucblib -R/opt/SUNWspro/lib -L/opt/SUNWspro/lib -L/opt/SUNWspro/prod/li
b -L/usr/ccs/lib -L/lib -L/usr/lib -lfui -lfai -lfsu -lsunmath -lmtsk -lm
sh:
Possible ERROR while running linker: cc: No input file specified, no output generated
output: ret = 256
error message = {cc: No input file specified, no output generated
I don't see were i made a mistake.
Is it possible that it could come from the compiler?
(i tried gcc 3.4, but there's not a fortran compiler)
Is anyone has got this probleme?
Any idea?
Thanks,