Re: [AMBER] problem building sander.apbs

From: Robert Konecny <rok.ucsd.edu>
Date: Tue, 22 Sep 2009 12:55:40 -0700

Hi Oliver,

please replace

 WRITE(6, '(a, i)')

with

 WRITE(6, '(a, i2)')

in the three WRITE apbs return code statements and you should be OK.
gfortran requires strict compliance with F95 standard here and expects the
width parameter for the I descriptor.

This has been fixed in the latest iAPBS (although gfortran is still not
supported compiler for iAPBS).

Thanks,

Robert


On Tue, Sep 22, 2009 at 10:10:10AM +0200, Oliver Kuhn wrote:
> > -----Ursprüngliche Nachricht-----
> > Von: "case" <case.biomaps.rutgers.edu>
> > Gesendet: 21.09.09 16:40:41
> > An: AMBER Mailing List <amber.ambermd.org>
> > Betreff: Re: [AMBER] problem building sander.apbs
>
>
> > On Mon, Sep 21, 2009, Oliver Kuhn wrote:
> >
> > > 2. I also manually changed the i three times to 6i and get the same error message.
> >
> > If you have manually changed the
> > file, it's hard to see how you could get the "same error message".
> >
> > Can you double-check that you are actually compiling the modified file? Since
> > the original error message was very specific, referring to "i", and since your
> > modified file has "6i", there must at least be a different error message.
> >
> > ...dac
>
>
> It is the modified file and the error message is slightly different - 6i instead of i:
>
> make -e AMBERBUILDFLAGS="-DAPBS" sander.APBS
> cpp -traditional -P -xassembler-with-cpp -Dsecond=ambsecond -DBINTRAJ -DAPBS apbs.f > _apbs.f
> gfortran -c -O0 -fno-range-check -fno-second-underscore -ffree-form -DAPBS -o apbs.o _apbs.f
> _apbs.f:690.77:
>
> IF (apbs_debug > 1) WRITE(6, '(a, 6i)') ' iAPBS> apbs return code: ', rc
> 1
> Error: Nonnegative width required in format string at (1)
> _apbs.f:914.43:
>
> 'iAPBS: apbs return code: ', rc
> 1
> Error: Nonnegative width required in format string at (1)
> _apbs.f:987.43:
>
> 'iAPBS: apbs return code: ', rc
> 1
> Error: Nonnegative width required in format string at (1)
> make: *** [apbs.o] Error 1
>
>
> Thank you for your patience.
> Oliver
>
>
>
> >
> >
> > _______________________________________________
> > AMBER mailing list
> > AMBER.ambermd.org
> > http://lists.ambermd.org/mailman/listinfo/amber
> >
>
>
> ________________________________________________________________
> Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
> für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber

_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Sep 22 2009 - 13:00:03 PDT
Custom Search