[gmx-users] SGI installation problem - make_edi

David van der Spoel spoel at xray.bmc.uu.se
Sun Mar 16 13:27:43 CET 2008


Erik Lindahl wrote:
> Hi,
> 
> One option would simply be to remove make_edi from Makefile.am. 
> Unfortunately this tool has proven to be a bit buggy in the compile 
> stage, and you won't need it for any normal simulations.
> 
> The other fix would be to create separate static variables to use in the 
> list for reading options, and assembling then into evStepOptions[] after 
> the fact.
> 
I've replaced the arrays by static strings and committed to CVS (3.3 and 
head branches). If one to the make_edi developers volunteers to clean it 
up, you're welcome.


> Cheers,
> 
> Erik
> 
> On Mar 16, 2008, at 11:42 AM, Siavoush Dastmalchi wrote:
> 
>> Hi there,
>> Now I am getting the following error. I can see that others had this 
>> problem before and there are couple of solutions in the archive 
>> suggested by the list. I was wondering which one should I consider. 
>> Some suggestions apparently didn't work, but others , I am not sure.
>> Many thanks,
>> Siavoush
>>
>> 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)
>>
>>
>> ________________________________
>>
>> From: gmx-users-bounces at gromacs.org on behalf of David van der Spoel
>> Sent: Sun 2008/03/16 11:30 ق.ظ
>> To: Discussion list for GROMACS users
>> Subject: Re: [gmx-users] SGI installation problem
>>
>>
>>
>> Siavoush Dastmalchi wrote:
>>> Hi,
>>>
>>> Thanks to David for his suggestion. Now I have the following error. 
>>> It is a bit of shame that I am hassling you, but I want GMX to work 
>>> on my sgi.
>>>
>>>
>>>
>>> Cheers, Siavoush
>>>
>>>
>>>
>>> Here is the error message:
>>>
>>> gmx_spatial.c -Wp,-MDupdate,.deps/gmx_spatial.TPlo -o gmx_spatial.o
>>> cc-1028 cc: ERROR File = gmx_spatial.c, Line = 110
>>>  The expression used must have a constant value.
>>>      { "-pbc",      bPBC, etBOOL, {&bPBC},
>>>                     ^
>>> cc-1028 cc: ERROR File = gmx_spatial.c, Line = 112
>>>  The expression used must have a constant value.
>>>      { "-div",      bCALCDIV, etBOOL, {&bCALCDIV},
>>>                     ^
>>> cc-1028 cc: ERROR File = gmx_spatial.c, Line = 114
>>>  The expression used must have a constant value.
>>>      { "-ign",      iIGNOREOUTER, etINT, {&iIGNOREOUTER},
>>>                     ^
>>> cc-1028 cc: ERROR File = gmx_spatial.c, Line = 118
>>>  The expression used must have a constant value.
>>>      { "-bin",      rBINWIDTH, etREAL, {&rBINWIDTH},
>>>                     ^
>>> cc-1028 cc: ERROR File = gmx_spatial.c, Line = 120
>>>  The expression used must have a constant value.
>>>      { "-nab",      iNAB, etINT, {&iNAB},
>>>                     ^
>>> 5 errors detected in the compilation of "gmx_spatial.c".
>>>
>>
>> Please replace all of these by FALSE (in capital).
>>
>> -- 
>> David van der Spoel, Ph.D.
>> Molec. Biophys. group, Dept. of Cell & Molec. Biol., Uppsala University.
>> Box 596, 75124 Uppsala, Sweden. Phone:  +46184714205. Fax: +4618511755.
>> spoel at xray.bmc.uu.se    spoel at gromacs.org   http://folding.bmc.uu.se 
>> <http://folding.bmc.uu.se/>
>> _______________________________________________
>> gmx-users mailing list    gmx-users at gromacs.org
>> http://www.gromacs.org/mailman/listinfo/gmx-users
>> Please search the archive at http://www.gromacs.org/search before 
>> posting!
>> Please don't post (un)subscribe requests to the list. Use the
>> www interface or send it to gmx-users-request at gromacs.org.
>> Can't post? Read http://www.gromacs.org/mailing_lists/users.php
>>
>>
>> _______________________________________________
>> gmx-users mailing list    gmx-users at gromacs.org
>> http://www.gromacs.org/mailman/listinfo/gmx-users
>> Please search the archive at http://www.gromacs.org/search before 
>> posting!
>> Please don't post (un)subscribe requests to the list. Use the
>> www interface or send it to gmx-users-request at gromacs.org.
>> Can't post? Read http://www.gromacs.org/mailing_lists/users.php
>>
> 
> _______________________________________________
> gmx-users mailing list    gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please search the archive at http://www.gromacs.org/search before posting!
> Please don't post (un)subscribe requests to the list. Use thewww 
> interface or send it to gmx-users-request at gromacs.org.
> Can't post? Read http://www.gromacs.org/mailing_lists/users.php


-- 
David van der Spoel, Ph.D.
Molec. Biophys. group, Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone:	+46184714205. Fax: +4618511755.
spoel at xray.bmc.uu.se	spoel at gromacs.org   http://folding.bmc.uu.se



More information about the gromacs.org_gmx-users mailing list