AMBER Archive (2006)

Subject: RE: AMBER: compiling errors

From: Ross Walker (ross_at_rosswalker.co.uk)
Date: Mon Apr 24 2006 - 19:58:52 CDT


Hi Alex,

This was fixed 'I believe' on the 21st of April.

See bugfix 1: http://amber.scripps.edu/bugfixes90.html

If this still doesn't work please let us know.

All the best
Ross

/\
\/
|\oss Walker

| HPC Consultant and Staff Scientist |
| San Diego Supercomputer Center |
| Tel: +1 858 822 0854 | EMail:- ross_at_rosswalker.co.uk |
| http://www.rosswalker.co.uk | PGP Key available on request |

Note: Electronic Mail is not secure, has no guarantee of delivery, may not
be read every day, and should not be used for urgent or sensitive issues.

> -----Original Message-----
> From: owner-amber_at_scripps.edu
> [mailto:owner-amber_at_scripps.edu] On Behalf Of Alex Tzanov
> Sent: Monday, April 24, 2006 17:18
> To: amber_at_scripps.edu
> Subject: AMBER: compiling errors
>
> I am trying to install Amber 9
> on SGI rix 6.5 and I am getting:
>
> cc-1241 cc: ERROR File = ptraj.c, Line = 4038
> A declaration cannot appear after an executable statement
> in a block.
>
> int natomCL = lesSize( atoms );
> ^
>
> cc-1241 cc: ERROR File = ptraj.c, Line = 4040
> A declaration cannot appear after an executable statement
> in a block.
>
> double* xrep = safe_malloc( sizeof( double ) * natomCL );
> ^
>
> cc-1241 cc: ERROR File = ptraj.c, Line = 4041
> A declaration cannot appear after an executable statement
> in a block.
>
> double* yrep = safe_malloc( sizeof( double ) * natomCL );
> ^
>
> cc-1241 cc: ERROR File = ptraj.c, Line = 4042
> A declaration cannot appear after an executable statement
> in a block.
>
> double* zrep = safe_malloc( sizeof( double ) * natomCL );
> ^
> Obviously a bug. Any suggestions?
>
> Thnaks
>
> Alex
>
> --
> Alexander Tzanov
> Scientific Computing and Visualization
> New York University, WWH
> 251 Mercer Street
> phone: 212 998 3159
> fax: 212 995 4120
> e-mail: alex.tzanov_at_nyu.edu
>
>
>
> --------------------------------------------------------------
> ---------
> The AMBER Mail Reflector
> To post, send mail to amber_at_scripps.edu
> To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
>

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu