[gmx-users] Subroutine error

David spoel at xray.bmc.uu.se
Mon May 3 12:47:00 CEST 2004


On Mon, 2004-05-03 at 12:25, herbst at fhi-berlin.mpg.de wrote:
> Hello all,
> I have a new problem with gromacs ( system specification: SGI Origin 2000,
> IRIX 6.5 Compiler 7.3):
> 
> fftw is now installed succesfully and gromacs is configured correctly. 
> But when I enter the make command, a subroutine error appears:
> 
> cc-1028 cc: ERROR File = gmx_sgangle.c, Line = 397
>   The expression used must have a constant value.
> 
>       { "-one", FALSE, etBOOL, {&bOne},
>                                  ^
> 
> 1 error detected in the compilation of "gmx_sgangle.c".
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> 
> Has anyone an idea what I have to do now?

edit the file and make the variable static

static bool bOne = TRUE;


> Thanks, Anna
> _______________________________________________
> gmx-users mailing list
> gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please don't post (un)subscribe requests to the list. Use the 
> www interface or send it to gmx-users-request at gromacs.org.
-- 
David.
________________________________________________________________________
David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,
Dept. of Cell and Molecular Biology, Uppsala University.
Husargatan 3, Box 596,  	75124 Uppsala, Sweden
phone:	46 18 471 4205		fax: 46 18 511 755
spoel at xray.bmc.uu.se	spoel at gromacs.org   http://xray.bmc.uu.se/~spoel
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




More information about the gromacs.org_gmx-users mailing list