<div><pre>Hi:</pre><pre>I have just fixed the following make_edi.c errors, by </pre><pre>changing the code to:</pre><pre>{ &quot;-linfix&quot;, FALSE, etSTR, {&amp;evSelections[evLINFIX]},<br>{ &quot;-linacc&quot;, FALSE, etSTR, {&amp;evSelections[evLINACC]},
<br>{ &quot;-radfix&quot;, FALSE, etREAL, {&amp;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, {&amp;evParams[evLINFIX]},
        ^

cc-1028 cc: ERROR File = make_edi.c, Line = 581
  The expression used must have a constant value.

      { evStepOptions[evLINACC], FALSE, etSTR, {&amp;evParams[evLINACC]},
        ^

cc-1028 cc: ERROR File = make_edi.c, Line = 583
  The expression used must have a constant value.

      { evStepOptions[evRADFIX], FALSE, etREAL, {&amp;radfix},
        ^

cc-1552 cc: WARNING File = make_edi.c, Line = 622
  The variable &quot;bTop&quot; is set but never used.

      bool bTop, bM, bFit1;
           ^

3 errors detected in the compilation of &quot;make_edi.c&quot;.
*** 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>|&gt;<i> Hi
</i>|&gt;<i> Hi ALl
</i>|&gt;<i>
</i>|&gt;<i> I read through some of the e-mails of B. Nataraj and Erik Lindahl for
</i>|&gt;<i> similar problem on compiling of GROMACS 3.3.1 on SGI IRIX.
</i>|&gt;<i>
</i>|&gt;<i> As my error also pointed to a problem in &quot;gmx_fft_fftw3.c&quot;, I replaced
</i>|<i>the
</i>|&gt;<i> 'void' with 'char' in the line 150 of the file, as suggested.
</i>|&gt;<i>
</i>|&gt;<i> I got the errors exactly the same as B. Nataraj got after doing this
</i>|&gt;<i> modification, which is listed at
</i>|&gt;<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>|&gt;<i>
</i>|&gt;<i> The same error is given below. I could not understand how to fix this
</i>|<i>error
</i>|&gt;<i> and run GROMACS successfully.
</i>|&gt;<i>
</i>|&gt;<i> Dr. Erik Lindahl wrote that: &quot;As far as I can see that file is perfectly
</i>|&gt;<i> valid ANSI C - there is no executable statement in the declaration
</i>|<i>section.&quot;
</i>|&gt;<i>
</i>|&gt;<i> However, I still do not know how to fix this?
</i>|&gt;<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>|&gt;<i> Please help.
</i>|&gt;<i>
</i>|&gt;<i> Regards
</i>|&gt;<i> Akshay
</i>|&gt;<i>
</i>|&gt;<i> Error is given below:
</i>|&gt;<i>
</i>|<i>___________________________________________________________________________
</i>|<i>_
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1031
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     static real core_frac=0.5 ;
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1032
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     t_pargs pa[] = {
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1073
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     FILE       *log;
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1074
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     int        natoms,nlist,naa,idum,nbin;
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1075
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     t_atoms    atoms;
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1076
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     rvec       *x;
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1077
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     matrix     box;
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1078
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     char       title[256],grpname[256];
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1079
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     t_dlist    *dlist;
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1080
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     char       **aa;
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1081
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     bool       bChi,bCorr,bSSHisto;
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1082
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     bool       bDo_rt, bDo_oh, bDo_ot, bDo_jc ;
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1083
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     real       dt=0, traj_t_ns;
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1085
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     atom_id    isize,*index;
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1086
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     int        ndih,nactdih,nf;
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1087
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     real       **dih,*trans_frac,*aver_angle,*time;
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1088
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     int        i,j,**chi_lookup,*xity;
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1090
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     t_filenm  fnm[] = {
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1106
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     int     npargs;
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> cc-1241 cc: ERROR File = gmx_chi.c, Line = 1107
</i>|&gt;<i>   A declaration cannot appear after an executable statement in a block.
</i>|&gt;<i>
</i>|&gt;<i>     t_pargs *ppa;
</i>|&gt;<i>     ^
</i>|&gt;<i>
</i>|&gt;<i> 20 errors detected in the compilation of &quot;gmx_chi.c&quot;.
</i>|&gt;<i> *** Error code 1 (bu21)
</i>|&gt;<i> *** Error code 1 (bu21)
</i>|&gt;<i> *** Error code 1
</i>|&gt;<i>
</i>|<i>(bu21)_____________________________________________________________________
</i>|<i>_
</i>|&gt;<i> ______
</i>|&gt;<i>
</i>|&gt;<i>
</i>|&gt;<i> Akshay Patny
</i>|&gt;<i>
</i>|&gt;<i> Graduate Research Assistant
</i>|&gt;<i> Faser Hall 417, Department of Medicinal Chemistry
</i>|&gt;<i> Research Institute of Pharmaceutical Sciences
</i>|&gt;<i> University of Mississippi
</i>|&gt;<i> University, MS 38677
</i>|&gt;<i> E-mail: <a href="http://www.gromacs.org/mailman/listinfo/gmx-users">akshay17 at olemiss.edu</a>
</i>|&gt;<i> Tel: 662-915-1286 (office); Web: <a href="http://www.olemiss.edu">www.olemiss.edu</a>
</i>|&gt;<i>
</i>|&gt;<i>
</i>|&gt;<i> _______________________________________________
</i>|&gt;<i> gmx-users mailing list    <a href="http://www.gromacs.org/mailman/listinfo/gmx-users">gmx-users at gromacs.org</a>
</i>|&gt;<i> <a href="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</a>
</i>|&gt;<i> Please don't post (un)subscribe requests to the list. Use the
</i>|&gt;<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>|&gt;<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>&nbsp;</div>
<div><br>-- </div>
<div>James</div>