[CPMD-list] CPMD-Linux

Axel Kohlmeyer axel.kohlmeyer at theochem.ruhr-uni-bochum.de
Sun Dec 5 16:05:22 CET 2004


On Sat, 4 Dec 2004, Wone Keun Han wrote:

WKH> HI!
WKH> 

hi!

WKH>  
WKH> 
WKH> I am trying to install CPMD on a Linux machine-Intel Pentium 3.4 GHz/ 4GB
WKH> memory and Mandrake Linux v.10.1.
WKH> 
WKH> I am using Intel Fortran compiler and MKL.

which version, i assume version 8.1, right?
in that case, please update to the latest version
(intel-ifort8-8.1-020.i386.rpm) from the intel 
support website.
 
WKH> I put library atlas on ~/SOURCE directory.

well, if you want to use MKL, you don't need atlas.
both packages provide the same functionality
(optimized LAPACK and BLAS), though.

WKH> 
WKH> I made Makefile using BOCHUM-P4.

ok, this one uses atlas. btw: for optimal performance
and reusability of the binary you should probably replace:
'-O3 -pc64 -axiKMWN' with  '-O2 -pc64'
and '-static' with '-i-static'.
 
WKH> After typing make, it starts compiling.
WKH> 
WKH> But it stops and gives me an error message:
WKH> 
WKH> "ld cannot find -lm"
WKH> 
WKH> Does anyone know what it means and how I can fix?

yes. the linker is looking for a file libm.so or libm.a
this means, that you either have not installed the glibc-devel
package or made an incorrect installatio of the intel compiler.

regards,
	axel kohlmeyer.

WKH>  
WKH> 
WKH> Thank you,
WKH> 
WKH>  
WKH> 
WKH> Wone Keun Han
WKH> 
WKH>  
WKH> 
WKH> 

-- 

=======================================================================
Dr. Axel Kohlmeyer   e-mail: axel.kohlmeyer at theochem.ruhr-uni-bochum.de
Lehrstuhl fuer Theoretische Chemie          Phone: ++49 (0)234/32-26673
Ruhr-Universitaet Bochum - NC 03/53         Fax:   ++49 (0)234/32-14045
D-44780 Bochum  http://www.theochem.ruhr-uni-bochum.de/~axel.kohlmeyer/
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.




More information about the CPMD-list mailing list