[gmx-users] RIX 6.5 compilation error

Campbell Millar c.millar at elec.gla.ac.uk
Tue Aug 10 18:32:34 CEST 2004


Hi Murali,

I had the same problem with the Mips 7.41 compilers. They appear to 
have become extremely pedantic.

  The quick fix is to edit gmx_sgangle.c line 392 and add the word 
static before bOne = true;

This keeps the compiler happy. I'm guessing that you are also going to 
run into problems when you come to compile make_edi.c where I had 
problems with a similar static intialisation thing. If you do let me 
know I'll put together a patch.

Cheers,

Campbell

On 10 Aug 2004, at 17:17, Ramachandran Murali wrote:

> Hi,
> First thanks for pointing out that i should use fftw-2.1.5 instead  of
> 3.0.1. Now i am able to compile fft.
>
> Now, i am having problem with gromacs:
>
> I get the following error,
>
> cc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../include
> -DGMXLIBDIR=\"/usr/local/xtal/gromacs/share/top\" -I/usr/local/include
> -r8000 -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
> gmx_sgangle.c -Wp,-MDupdate,.deps/gmx_sgangle.TPlo -o gmx_sgangle.o
>
> cc-1028 cc: ERROR File = gmx_sgangle.c, Line = 397
>   The expression used must have a constant value.
>
>       { "-one", FALSE, etBOOL, {&bOne},
>                                  ^
>
> 1 error detected in the compilation of "gmx_sgangle.c".
>
> Thanks for any help,
> Murali
>
>
>
> ----------------------------------------------------
> Dr. Ramachandran Murali
> Assistant Professor
> 243 John Morgan Building
> Department of Pathology & Lab. Medicine
> University of Pennsylvania
> Philadelphia, PA-19104-6082
> Ph: 215-573-9256; Fax: 215-898-2401
>
>
>
> _______________________________________________
> gmx-users mailing list
> gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-users-request at gromacs.org.
>
__________________________
Dr Campbell Millar,
University of Glasgow,
Device Modelling Group,
Oakfield Avenue,
Glasgow G12 8LT
tel: +44 141 330 4792  fax: +44 141 330 4907

"Diplomacy is the art of saying 'nice doggy', till you can find a rock"
Larry Niven.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2375 bytes
Desc: not available
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20040810/5b475b91/attachment.p7s>


More information about the gromacs.org_gmx-users mailing list