[gmx-users] SGI installation problem

Siavoush Dastmalchi Dastmalchi.s at tbzmed.ac.ir
Sun Mar 16 06:03:16 CET 2008


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".


________________________________

From: gmx-users-bounces at gromacs.org on behalf of David van der Spoel
Sent: Sat 2008/03/15 08:15 ب.ظ
To: Discussion list for GROMACS users
Subject: Re: [gmx-users] SGI installation problem



Siavoush Dastmalchi wrote:
> Hi there,
> 
> This is a bit funny that I am posting this problem again, but I am hopping that I may find a solution. I recently down loaded gromacs-3.3.3 and was trying to install it on my sgi computer. I get error massage (as shown below). It seems that many others also had such a problem, so wondering if some one can help me out with this.
> 
> Cheers, Siavoush
> 
>         source='nsc.c' object='nsc.lo' libtool=yes \
>         DEPDIR=.deps depmode=sgi /bin/sh ../../config/depcomp \
>         /bin/sh ../../libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I. -I../../src   -I../../include -DGMXLIBDIR=\"/usr/local/gromacs/share/top\" -I/usr/local/include  -r12000 -mips4 -O3 -OPT:IEEE_arithmetic=3 -OPT:rsqrt=ON -SWP:loop_overhead -INLINE:=ON -LNO:opt=1 -LNO:ou_further=3 -OPT:Olimit=0:roundoff=3:alias=typed -woff 1174 -D__INLINE_INTRINSICS -c -o nsc.lo nsc.c
>  cc -DHAVE_CONFIG_H -I. -I../../src -I../../include "-DGMXLIBDIR=\"/usr/local/gromacs/share/top\"" -I/usr/local/include -r12000 -mips4 -O3 -OPT:IEEE_arithmetic=3 -OPT:rsqrt=ON -SWP:loop_overhead -INLINE:=ON -LNO:opt=1 -LNO:ou_further=3 -OPT:Olimit=0:roundoff=3:alias=typed -woff 1174 -D__INLINE_INTRINSICS -c nsc.c -Wp,-MDupdate,.deps/nsc.TPlo -o nsc.o
> cc-1028 cc: ERROR File = nsc.c, Line = 729
>   The expression used must have a constant value.
>               rvec xxi = { xi, yi, zi };
>                            ^
> cc-1028 cc: ERROR File = nsc.c, Line = 729
>   The expression used must have a constant value.
>               rvec xxi = { xi, yi, zi };
>                                ^
> cc-1028 cc: ERROR File = nsc.c, Line = 729
>   The expression used must have a constant value.
>               rvec xxi = { xi, yi, zi };

replace the code at line 729 by

rvec xxi;
xxi[XX] = xi;
xxi[YY] = yi;
xxi[ZZ] = zi;

>                                    ^
> 3 errors detected in the compilation of "nsc.c".
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
>
> _______________________________________________
> 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


--
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





More information about the gromacs.org_gmx-users mailing list