Re: AMBER: Problems compiling amber9

From: Don Harden <harden.gsu.edu>
Date: Mon, 22 May 2006 13:10:15 -0400

Dear Amber Users,

I am having the same problem as Thomas Steinbrecher (Fri Apr 21 2006,
http://amber.ch.ic.ac.uk/archive/200604/0204.html )
while trying to compile Amber9.
My system is running:
   Scyldsmp 2.4.22-9
   gcc 2.96
   ifort 9.0
   icc 9.1.038
   mkl 8.1

I've tried with both icc and gcc; no difference.

configure runs fine
----------------------------------
$ ./configure -p4 ifort_ia32
AMBERHOME is set to /usr/local/amber9
Setting up Amber configuration file for architecture: ifort_ia32
Using parallel communications library: none
MKL_HOME is set to /opt/intel/mkl/8.1/
Using MKL libraries from /opt/intel/mkl/8.1//lib/32
 
The configuration file, config.h, was successfully created.
-----------------------------------

However the compilation dies with gcc -m32 -c -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -O2 -o mmtsb_client.o mmtsb_client.c
-----------------------------------
cc1: Invalid option `32'
make[1]: *** [mmtsb_client.o] Error 1
make[1]: Leaving directory `/usr/local/amber9/src/sander'
make: *** [serial] Error 2
-----------------------------------

Removing the -m32 flag at CC and LOADCC in config.h allows amber to
compile, but the test suit dies. Has anyone found a resolution? My
guess is that my gcc is too old.

Thanks,
Don Harden

-- 
Don Harden                       harden.Gsu.EDU
Department of Chemistry          564 NSC
Georgia State University         ph:  (404) 651-3580
Atlanta, Ga. 30302               fax: (404) 651-1416
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Wed May 24 2006 - 06:07:11 PDT
Custom Search