AMBER Archive (2005)

Subject: AMBER: P4 EM64T Intel Fortran Compile Problem

From: Dawei Zhang (dawei.zhang.53_at_gmail.com)
Date: Fri Jul 15 2005 - 12:04:49 CDT


Dear Amber users,

I am trying to compile amber8 in 32-bit mode on a p4 intel EM64T
machine with RHEL WS v3.0 , using ./configure -p4 -static -ifort. And
the compilation died just in the beginning.

******************************************************************************************************
Starting installation of Amber8 (serial) at Fri Jul 15 12:54:13 EDT 2005.
mkdir ../exe
mkdir: cannot create directory `../exe': File exists
make: [serial] Error 1 (ignored)
cd lib; make install
make[1]: Entering directory `/usr/local/amber8/src/lib'
cpp -traditional -P -I/usr/local/amber8/src/include new2oldparm.f >
_new2oldparm.f
ifort -c -w95 -tpp7 -mp1 -O0 -o new2oldparm.o _new2oldparm.f
cpp -traditional -P -I/usr/local/amber8/src/include nxtsec.f > _nxtsec.f
ifort -c -w95 -tpp7 -mp1 -O0 -o nxtsec.o _nxtsec.f
ifort -static -o new2oldparm new2oldparm.o nxtsec.o
ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
ld: cannot find -lm
make[1]: *** [new2oldparm] Error 1
make[1]: Leaving directory `/usr/local/amber8/src/lib'
make: *** [serial] Error 2
*****************************************************************************************************

It seems like ld is the source of the trouble. Does anybody help me out?

Thank you,

Dr. Dawei Zhang
Department of Biochemistry
New York University School of Medicine
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu