AMBER Archive (2005)

Subject: RE: AMBER: P4 EM64T Intel Fortran Compile Problem

From: Ross Walker (ross_at_rosswalker.co.uk)
Date: Fri Jul 15 2005 - 12:26:36 CDT


Do you have the 32bit versions of the math libraries installed?

Check for /usr/lib/libm.a

All the best
Ross

/\
\/
|\oss Walker

| Department of Molecular Biology TPC15 |
| The Scripps Research Institute |
| Tel: +1 858 784 8889 | EMail:- ross_at_rosswalker.co.uk |
| http://www.rosswalker.co.uk | PGP Key available on request |

Note: Electronic Mail is not secure, has no guarantee of delivery, may not
be ready every day, and should not be used for urgent or sensitive issues.

> -----Original Message-----
> From: owner-amber_at_scripps.edu
> [mailto:owner-amber_at_scripps.edu] On Behalf Of Dawei Zhang
> Sent: Friday, July 15, 2005 10:05
> To: amber_at_scripps.edu
> Subject: AMBER: P4 EM64T Intel Fortran Compile Problem
>
> 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
>

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu