AMBER: compiling errors

From: Alex Tzanov <alex.tzanov.nyu.edu>
Date: Mon, 24 Apr 2006 20:17:50 -0400

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.nyu.edu
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Wed Apr 26 2006 - 06:07:08 PDT
Custom Search