[gmx-users] SGI installation problem

David van der Spoel spoel at xray.bmc.uu.se
Sat Mar 15 17:45:46 CET 2008


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



More information about the gromacs.org_gmx-users mailing list