Re: AMBER: Question Amber8 install errer with Windows

From: David A. Case <case.scripps.edu>
Date: Fri, 24 Sep 2004 13:41:18 -0700

On Fri, Sep 24, 2004, kamimura satoshi wrote:
>
> I try install Amber8 with Windows2000 , cygwin
> ,and Absoft Pro Fortran9.0.
> When make serial , there is error below.
>
> chenge path in config.h : absoft82 --> absoft90
> sander make serial
> -----------
> cpp -traditional -P -I/usr/local/amber8/src/include -DABSOFT_WINDOWS mdread.f
> > _mdread.f
> f90.exe -Z1643 -Z1644 -c -O1 -f free -o mdread.o _mdread.f
>
> iselres = itres
> ^
> cf90-1640 f90fe: ERROR CNSTPHREAD, File = _mdread.f, Line = 1506, Column = 39
> Dummy arguments with the INTENT(OUT) attribute must be defined before use.
>
> end if
> ^
> cf90-1640 f90fe: ERROR CNSTPHREAD, File = _mdread.f, Line = 1507, Column = 42
> Dummy arguments with the INTENT(OUT) attribute must be defined before use.

As usual with Absoft, the line listed above has nothing to do with the line
where the error actually occurred -- you have to go to line 1506 of _mdread.f
to see what is going on.

It's worth a try to change the following line in mdread.f:

   type (const_ph_info), intent (out) :: stateinf(0:TITR_RES_C-1)

to

   type (const_ph_info) :: stateinf(0:TITR_RES_C-1)

I haven't yet "upgraded" to Absoft 9.0, but wouldn't be surprised to see some
new error. To my eyes, it looks like a compiler bug: the code is not
recognizing that stateinf is set in the namelist read command. John Mongan
may have some more ideas....it could be that we should initialize stateinf to
default values before the namelist read, both to eliminate the above message
and to track input errors better.

....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 Fri Sep 24 2004 - 21:53:00 PDT
Custom Search