AMBER Archive (2007)

Subject: Re: AMBER: compiling AMBER9 on Mac OS X Tiger (Intel)

From: Mark Williamson (Mark.Williamson_at_imperial.ac.uk)
Date: Wed Feb 07 2007 - 11:45:29 CST


Z. Nevin Gerek wrote:
> We do have a fully working version of amber compiled on linux cluster. I
> copied the source code to imac (mac osx Intel machine). When I try to
> compile the code, I am getting this kind of error:
>
> Starting installation of Amber9 (serial) at Wed Feb 7 10:09:12 MST 2007.
> cd lib; make install
> g95 -o new2oldparm new2oldparm.o nxtsec.o
> ld: new2oldparm.o bad magic number (not a Mach-O file)
> ld: nxtsec.o bad magic number (not a Mach-O file)

This is just an initial guess, but try a "make clean" before the "make"
on the mac. It's possible that you may have copied over some i386/x86_64
object files from the linux cluster and these may be breaking the
build/linking process on the mac. I do not know offhand if compiled
object files on an i386 can be linked to other object files compiled on
a mac that uses an Intel processor, hence this "make clean" is playing
it safe.

regards,

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