Re: AMBER: Error when compiling amber9 ptraj

From: David A. Case <case.scripps.edu>
Date: Fri, 21 Apr 2006 05:08:15 -0700

On Fri, Apr 21, 2006, Thomas Steinbrecher wrote:
>
> during serial compilation of amber 9 on an athlon PC configured with
>
> ./configure -athlon ifort_ia32
>
> using the intel fortran compiler and gcc 3.3, the compilation of ptraj
> halts with this error message:
>
> ptraj.c: In function `ptrajOutputCoordinates':
> ptraj.c:4037: parse error before `int'

...aargh. This was fixed in CVS version 8.12, but then TEC blew it away
with later changes in revision 8.13.

Amber developers named "Tom" really *have* to more carefully keep their
CVS trees up to date.

We'll post a bug-fix: basically, just move line 4036 of ptraj.c down about 6
lines (so that it is after the declarations.) This is a C syntax rule, but
many compilers don't enforce it.

...thanks for the report....dac

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Sun Apr 23 2006 - 06:07:09 PDT
Custom Search