AMBER Archive (2006)

Subject: Re: AMBER: Error when compiling amber9 ptraj

From: David A. Case (case_at_scripps.edu)
Date: Fri Apr 21 2006 - 07:08:15 CDT


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_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu