Hello everyone,
I got some problem when compiling AMBER8 on IBM ppc64 machine. The OS
is "SUSE LINUX Enterprise Server 9 (ppc)", the compiler is XLF. Intel
compiler is not available on this machine(so can't use ./configure
xlf90_suse). Here's how I did:
1). ./configure xlf90_aix
2). make clean ; make serial
it exists when compiling ene.f in sander directory with the following error:
======
"_ene.f", line 1896.31: 1513-041 (S) Arguments of the wrong type were
specified for the INTRINSIC procedure "max".
"_ene.f", line 1897.30: 1513-041 (S) Arguments of the wrong type were
specified for the INTRINSIC procedure "min".
======
The corresponding lines in _ene.f are as follows:
ct1 = max ( -0.999, ct0 )
ct2 = min ( 0.999, ct1)
It seems XLF doesn't like ct0 or ct1 as the argument to max() or
min(). The compilation on _ene.f with XLF went through if arguments
were changed like this:
ct1 = max ( -0.999, 0.1 )
ct2 = min ( 0.999, 0.1)
ct0 and ct1 are defined as double precision, I don't understand why
XLF doesn't like a double precision variable being the argument to
max() or min(). Can somone please help?
Thanks!
Junjun Liu
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" (in the *body* of the email)
to majordomo.scripps.edu
Received on Wed Oct 01 2008 - 05:11:21 PDT