Re: AMBER: DHAS_10_12 compilation aborted for egb.f

From: David A. Case <case.scripps.edu>
Date: Tue, 6 Mar 2007 08:31:10 -0800

On Tue, Mar 06, 2007, Jesus Angulo wrote:

> cpp -traditional -P -DHAS_10_12 egb.f > _egb.f
> ifort -c -w95 -mp1 -ip -O3 -FR -DHAS_10_12 -o egb.o _egb.f
> fortcom: Error: _egb.f, line 1237: This name does not have a type, and must
> have an explicit type. [BSOL]
> f10 = bsol(-ic)*r10inv
> ---------------------^
> fortcom: Error: _egb.f, line 1238: This name does not have a type, and must
> have an explicit type. [ASOL]
> f12 = asol(-ic)*r10inv*r2inv
> ---------------------^
> compilation aborted for _egb.f (code 1)
> make: *** [egb.o] Error 1

Change line 174 of egb.f from:

   use parms, only: cn1,cn2

to

   use parms, only: cn1,cn2,asol,bsol

Be sure to test (non-gb) energies carefully against the Amber 5 results.

...good luck...dac

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Wed Mar 07 2007 - 06:07:42 PST
Custom Search