BLAS, ATLAS, LAPACK Shared library minimal example
问题 I installed atlas, blas and lapack x86_64 packages via yum install atlas.x86_64 blas.x86_64 lapack.x86_64 on a Redhat 6.6 (ii) distro which installs a shared library but am having problems compiling and linking. For example, if I try to compile the minimal working example: program main print *, 'hello world' end program main using gfortran -L. main.f90 -llapack -lblas -o main the compiler doesn't find the libraries and I get the error message: /usr/bin/ld: cannot find -llapack collect2: ld