AMBER Archive (2007)

Subject: AMBER: problems compiling amber on mac OSX

From: francesco zonta (francesco.zonta79_at_gmail.com)
Date: Thu Oct 25 2007 - 08:50:04 CDT


I did not manage to compile amber on MAC OSX using two different compiler.

if I use f95 this is the result.

Starting installation of Amber9 (serial) at Tue Oct 23 11:15:42 CEST 2007.
cd lib; make install
cpp -traditional -P new2oldparm.f > _new2oldparm.f
f95 -c -O1 -safefp -o new2oldparm.o _new2oldparm.f
Unrecognised option -safefp passed to ld
Evaluation trial version of NAGWare Fortran 95 Release 5.1(282)
Error: _new2oldparm.f: Invalid #line directive
Warning: _new2oldparm.f, line 400: Unused symbol OUTFIL
detected at END@<end-of-statement>
Warning: _new2oldparm.f, line 400: Unused symbol INFIL
detected at END@<end-of-statement>
[f95 terminated - errors found by pass 1]
make[1]: *** [new2oldparm.o] Error 2
make: *** [serial] Error 2

if I try with g95 the problem is another:

Starting installation of Amber9 (serial) at Tue Oct 23 11:20:32 CEST 2007.
cd lib; make install
cpp -traditional -P -xassembler-with-cpp new2oldparm.f > _new2oldparm.f
g95 -c -O0 -fno-second-underscore -o new2oldparm.o _new2oldparm.f
/var/tmp//ccwA3Lzw.s:1:Unknown pseudo-op: .machine
/var/tmp//ccwA3Lzw.s:1:Rest of line ignored. 1st junk character valued 112
(p).
/var/tmp//ccwA3Lzw.s:10647:Unknown pseudo-op: .subsections_via_symbols
make[1]: *** [new2oldparm.o] Error 1

can you help me?

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