[CPMD-list] cannot find -llapack-ifc
Axel Kohlmeyer
akohlmey at cmm.chem.upenn.edu
Thu May 3 14:38:53 CEST 2007
On Thu, 3 May 2007, m_ariesto wrote:
AM> Dear All,
AM>
AM> I am a Newbie,
AM> I failed to compile CPMD package. platform of my computer is PC,linux,
AM> Pentium 4, Intel Fortran Compiler.
AM> I typed "./mkconfig.sh PC-IFC-P4 > Makefile "
AM> after typing "make" error message appeared:
AM> -----------------
AM> ...
AM> ov.o shop_adds.o sysdepend.o -llapack-ifc -lblas-ifc -latlas-ifc -Vaxlib
AM> ld: cannot find -llapack-ifc
AM> make: *** [cpmd.x] Error 1
AM> -------------------
AM> could anyone give me hint/suggestion?
dear ariesto,
please note, that the mkconfig.sh simply assembles
a makefile from templates. since almost no linux
machine looks alike (too many compiler, BLAS/LAPACK
library combinations around), it so happened, that
the template does not match your machine (it was actually
taken from a rather unusual configuration).
for an intel linux fortran setup with p4, you may
want to try out the intel mkl for blas/lapack.
the best way to link with it is to change in the makefile:
FFLAGS = -c -O2 -unroll -warn all -tpp7 -pc64
LFLAGS = -L/opt/intel/mkl/9.0/lib/32/ -lmkl_lapack -lmkl_ia32
LD = ifort -i-static -openmp -Wl,--allow-multiple-definition
(if you have a different version of mkl or installed it into
a different directory, you have to change the path after -L )
good luck,
axel.
AM>
AM> Best reagards,
AM>
AM> Ariesto
AM>
AM> _______________________________________________
AM> CPMD-list mailing list
AM> CPMD-list at cpmd.org
AM> http://cpmd.org/mailman/listinfo/cpmd-list
AM>
--
=======================================================================
Axel Kohlmeyer akohlmey at cmm.chem.upenn.edu http://www.cmm.upenn.edu
Center for Molecular Modeling -- University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582, fax: 1-215-573-6233, office-tel: 1-215-898-5425
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.
More information about the CPMD-list
mailing list