Re: AMBER: problem compiling Amber9 on 64-machine

From: David A. Case <case.scripps.edu>
Date: Wed, 1 Aug 2007 07:50:30 -0700

On Wed, Aug 01, 2007, fatima.chami.durham.ac.uk wrote:
>
> I am using pgf90 as configured in the distribution (32bits) to run on 64
> opteron processor.

Note that this problem is with your C compiler, not with whatever fortran
compiler you may have chosen.

>
> /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
> warning: i386 architecture of input file `nVector.o' is incompatible with
> i386:x86-64 output

What options did you give to the "configure" script?
What do the "CC=", "CFLAGS=" and "LOADCC=" lines say in your config.h file?

It looks from the above like you are using the 64-bit version of ld, but
compiling things with the -m32 flag set. This would cause the error messages
you see, but we need more information to track down why this is happening.

...dac

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Sun Aug 05 2007 - 06:07:10 PDT
Custom Search