<div><pre>Hi:</pre><pre>I have just fixed the following make_edi.c errors, by </pre><pre>changing the code to:</pre><pre>{ "-linfix", FALSE, etSTR, {&evSelections[evLINFIX]},<br>{ "-linacc", FALSE, etSTR, {&evSelections[evLINACC]},
<br>{ "-radfix", FALSE, etREAL, {&evSelections[evRADFIX]},<br></pre><pre>And I succeeded to compile and install gromacs 3.3.1.</pre><pre>But I still can't run the mdrun program on the sgi irix machine.The mdrun doesn't work.
</pre><pre>Please help! Thanks a lot.</pre><pre>James</pre><pre>____________________________________________________________________________
cc-1028 cc: ERROR File = make_edi.c, Line = 579
The expression used must have a constant value.
{ evStepOptions[evLINFIX], FALSE, etSTR, {&evParams[evLINFIX]},
^
cc-1028 cc: ERROR File = make_edi.c, Line = 581
The expression used must have a constant value.
{ evStepOptions[evLINACC], FALSE, etSTR, {&evParams[evLINACC]},
^
cc-1028 cc: ERROR File = make_edi.c, Line = 583
The expression used must have a constant value.
{ evStepOptions[evRADFIX], FALSE, etREAL, {&radfix},
^
cc-1552 cc: WARNING File = make_edi.c, Line = 622
The variable "bTop" is set but never used.
bool bTop, bM, bFit1;
^
3 errors detected in the compilation of "make_edi.c".
*** Error code 2 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
____________________________________________________________________________
I really appreciate your help.
Kind Regards
Akshay
Akshay Patny
Graduate Research Assistant
Faser Hall 417, Department of Medicinal Chemistry
Research Institute of Pharmaceutical Sciences
University of Mississippi
University, MS 38677
E-mail: <a href="http://www.gromacs.org/mailman/listinfo/gmx-users">akshay17 at olemiss.edu</a>
Tel: 662-915-1286 (office); Web: <a href="http://www.olemiss.edu">www.olemiss.edu</a>
|<i>-----Original Message-----
</i>|<i>From: David van der Spoel [mailto:<a href="http://www.gromacs.org/mailman/listinfo/gmx-users">spoel at xray.bmc.uu.se</a>]
</i>|<i>Sent: Tuesday, April 18, 2006 12:22 AM
</i>|<i>To: <a href="http://www.gromacs.org/mailman/listinfo/gmx-users">akshay17 at olemiss.edu</a>; Discussion list for GROMACS users
</i>|<i>Subject: Re: [gmx-users] GROMACS 3.3.1 installation on SGI (Irix): 2
</i>|<i>
</i>|<i>Akshay Patny wrote:
</i>|><i> Hi
</i>|><i> Hi ALl
</i>|><i>
</i>|><i> I read through some of the e-mails of B. Nataraj and Erik Lindahl for
</i>|><i> similar problem on compiling of GROMACS 3.3.1 on SGI IRIX.
</i>|><i>
</i>|><i> As my error also pointed to a problem in "gmx_fft_fftw3.c", I replaced
</i>|<i>the
</i>|><i> 'void' with 'char' in the line 150 of the file, as suggested.
</i>|><i>
</i>|><i> I got the errors exactly the same as B. Nataraj got after doing this
</i>|><i> modification, which is listed at
</i>|><i> <a href="http://www.gromacs.org/pipermail/gmx-users/2006-April/020969.html">http://www.gromacs.org/pipermail/gmx-users/2006-April/020969.html</a>
</i>|><i>
</i>|><i> The same error is given below. I could not understand how to fix this
</i>|<i>error
</i>|><i> and run GROMACS successfully.
</i>|><i>
</i>|><i> Dr. Erik Lindahl wrote that: "As far as I can see that file is perfectly
</i>|><i> valid ANSI C - there is no executable statement in the declaration
</i>|<i>section."
</i>|><i>
</i>|><i> However, I still do not know how to fix this?
</i>|><i>
</i>|<i>
</i>|<i>there is a double semicolon on one of the lines before it. please remove
</i>|<i>it and retry.
</i>|<i>
</i>|><i> Please help.
</i>|><i>
</i>|><i> Regards
</i>|><i> Akshay
</i>|><i>
</i>|><i> Error is given below:
</i>|><i>
</i>|<i>___________________________________________________________________________
</i>|<i>_
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1031
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> static real core_frac=0.5 ;
</i>|><i> ^
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1032
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> t_pargs pa[] = {
</i>|><i> ^
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1073
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> FILE *log;
</i>|><i> ^
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1074
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> int natoms,nlist,naa,idum,nbin;
</i>|><i> ^
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1075
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> t_atoms atoms;
</i>|><i> ^
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1076
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> rvec *x;
</i>|><i> ^
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1077
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> matrix box;
</i>|><i> ^
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1078
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> char title[256],grpname[256];
</i>|><i> ^
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1079
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> t_dlist *dlist;
</i>|><i> ^
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1080
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> char **aa;
</i>|><i> ^
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1081
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> bool bChi,bCorr,bSSHisto;
</i>|><i> ^
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1082
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> bool bDo_rt, bDo_oh, bDo_ot, bDo_jc ;
</i>|><i> ^
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1083
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> real dt=0, traj_t_ns;
</i>|><i> ^
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1085
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> atom_id isize,*index;
</i>|><i> ^
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1086
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> int ndih,nactdih,nf;
</i>|><i> ^
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1087
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> real **dih,*trans_frac,*aver_angle,*time;
</i>|><i> ^
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1088
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> int i,j,**chi_lookup,*xity;
</i>|><i> ^
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1090
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> t_filenm fnm[] = {
</i>|><i> ^
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1106
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> int npargs;
</i>|><i> ^
</i>|><i>
</i>|><i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1107
</i>|><i> A declaration cannot appear after an executable statement in a block.
</i>|><i>
</i>|><i> t_pargs *ppa;
</i>|><i> ^
</i>|><i>
</i>|><i> 20 errors detected in the compilation of "gmx_chi.c".
</i>|><i> *** Error code 1 (bu21)
</i>|><i> *** Error code 1 (bu21)
</i>|><i> *** Error code 1
</i>|><i>
</i>|<i>(bu21)_____________________________________________________________________
</i>|<i>_
</i>|><i> ______
</i>|><i>
</i>|><i>
</i>|><i> Akshay Patny
</i>|><i>
</i>|><i> Graduate Research Assistant
</i>|><i> Faser Hall 417, Department of Medicinal Chemistry
</i>|><i> Research Institute of Pharmaceutical Sciences
</i>|><i> University of Mississippi
</i>|><i> University, MS 38677
</i>|><i> E-mail: <a href="http://www.gromacs.org/mailman/listinfo/gmx-users">akshay17 at olemiss.edu</a>
</i>|><i> Tel: 662-915-1286 (office); Web: <a href="http://www.olemiss.edu">www.olemiss.edu</a>
</i>|><i>
</i>|><i>
</i>|><i> _______________________________________________
</i>|><i> gmx-users mailing list <a href="http://www.gromacs.org/mailman/listinfo/gmx-users">gmx-users at gromacs.org</a>
</i>|><i> <a href="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</a>
</i>|><i> Please don't post (un)subscribe requests to the list. Use the
</i>|><i> www interface or send it to <a href="http://www.gromacs.org/mailman/listinfo/gmx-users">gmx-users-request at gromacs.org.</a>
</i>|><i> Can't post? Read <a href="http://www.gromacs.org/mailing_lists/users.php">http://www.gromacs.org/mailing_lists/users.php</a>
</i>|<i>
</i>|<i>
</i>|<i>--
</i>|<i>David.
</i>|<i>________________________________________________________________________
</i>|<i>David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,
</i>|<i>Dept. of Cell and Molecular Biology, Uppsala University.
</i>|<i>Husargatan 3, Box 596,         75124 Uppsala, Sweden
</i>|<i>phone:        46 18 471 4205                fax: 46 18 511 755
</i>|<i><a href="http://www.gromacs.org/mailman/listinfo/gmx-users">spoel at xray.bmc.uu.se</a>        <a href="http://www.gromacs.org/mailman/listinfo/gmx-users">spoel at gromacs.org</a> <a href="http://folding.bmc.uu.se/">http://folding.bmc.uu.se
</a>
</i>|<i>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
</i>
</pre><br clear="all"></div>
<div> </div>
<div><br>-- </div>
<div>James</div>