On Fri, Feb 03, 2006, Rhoad, Jonathan S. wrote:
> I am attempting to comile AMBER8 on a Intel Xeon 64-bit system (EM64T)
> running SuSE Linux Enterprise Srever 9 (SLES9). I have the intel compilers
> icc v. 9.0 and ifort v. 9.0. I run the configure script to get the config.h
> (attached). When it attempts to link sander it gives the error below. Any
> help would be appreciated.
>
> ld: warning: i386:x86-64 architecture of input file `mmtsb_client.o' is incompatible with i386 output
> ld: warning: i386:x86-64 architecture of input file `../lib/sys.a(wallclock.o)' is incompatible with i386 output
It's not clear what version of ifort you really have. If you run "ifort -V"
you will get one of a couple generic messages:
(a) Intel(R) Fortran Compiler for 32-bit applications, Version 9.0....
or
(b) Intel(R) Fortran Compiler for Intel(R) EM64T-based applications,
Version 9.0....
If you have the former (the so-called "ia32" compiler) you should edit your
config.h file and add "-m32" to the CC definition. This will get you 32-bit
(aka i386) output for the the C-based programs. You will need to do a
"make clean" and a recompile.
If you have item (b), or something else, then I'm not sure what is going
wrong.
...dac
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Sat Feb 04 2006 - 06:10:08 PST