Cannot find -llapack

Post here if you have a question about linking your program with LAPACK or ScaLAPACK library

Cannot find -llapack

Postby haevee » Thu Dec 04, 2014 4:39 am

After the LAPACK-3.5.0 has been installed on my Server (Linux operating system), I ran a fortran program (downloaded from ScienceDirect : Computer Physics Communications,, The TDHF Code Sky3D) and got the problems:

gfortran -O3 -o sky3d.seq params.o grids.o levels.o fourier.o forces.o sequential.o inout.o coulomb.o trivial.o densities.o fragments.o twobody.o energies.o static.o meanfield.o dynamic.o pairs.o moment.o main3d.o user.o external.o -lfftw3 -llapack
/usr/bin/ld: cannot find -llapack
collect2: ld returned 1 exit status
make: *** [sky3d.seq] Error 1

I hope someone could answer me, thank you very much.

PS: my linux operating system is
LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.2 (Final)
Release: 6.2
Codename: Final
Posts: 2
Joined: Wed Dec 03, 2014 10:27 am

Return to Linking Problem

Who is online

Users browsing this forum: No registered users and 4 guests