[gmx-users] gromacs3.3.1 compilation error in SGI

David van der Spoel spoel at xray.bmc.uu.se
Fri Apr 7 10:47:43 CEST 2006


Erik Lindahl wrote:
> Hi Raja,
> 
> Try changing the "void" on line 150 to "char". gcc doesn't complain 
> about this casting even with full warnings, so we missed one instance.
> 
Maybe you'd rather need

pc = (void *)(pc + 8)

or even better

pc = &(pc[8])

> Erik
> 
> 
> On Apr 7, 2006, at 10:36 AM, raja wrote:
> 
>> Dear all,
>> I just tried to install groamcs3.3.1, with a hope to overcome the
>> earlier bug I posted for 3.3 version
>> (http://www.gromacs.org/pipermail/gmx-users/2006-April/020850.html) .But
>> an other error occured in groamcs3.3.1 in SGI compilation..
>> Error
>> ########################################################################### 
>>
>>  -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 qm_gaussian.lo qm_gaussian.c
>>  cc -DHAVE_CONFIG_H -I. -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 qm_gaussian.c -Wp,-MDupdate,.deps/qm_gaussian.TPlo -o qm_gaussian.o
>>         source='gmx_fft_fftw3.c' object='gmx_fft_fftw3.lo' libtool=yes \
>>         DEPDIR=.deps depmode=sgi /bin/sh ../../config/depcomp \
>>         /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H
>>          -I. -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 gmx_fft_fftw3.lo
>>         gmx_fft_fftw3.c
>>  cc -DHAVE_CONFIG_H -I. -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 gmx_fft_fftw3.c -Wp,-MDupdate,.deps/gmx_fft_fftw3.TPlo -o
>>  gmx_fft_fftw3.o
>> cc-3316 cc: ERROR File = gmx_fft_fftw3.c, Line = 186
>>   The expression must be a pointer to a complete object type.
>>
>>       pc += 8;
>>       ^
>>
>> cc-3316 cc: ERROR File = gmx_fft_fftw3.c, Line = 190
>>   The expression must be a pointer to a complete object type.
>>
>>       pc += 8;
>>       ^
>>
>> 2 errors detected in the compilation of "gmx_fft_fftw3.c".
>> *** Error code 1 (bu21)
>> *** Error code 1 (bu21)
>> *** Error code 1 (bu21)
>> *** Error code 1 (bu21)
>> ############################################################################# 
>>
>>
>> I am desparate to compile in SGI , Please help me.
>>
>> With thanks !
>> B.Nataraj
>> --  raja
>>   raja_28 at fastmail.us
>>
>> --http://www.fastmail.fm - Access all of your messages and folders
>>                           wherever you are
>>
>> _______________________________________________
>> 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.
>> 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 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.
________________________________________________________________________
David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,
Dept. of Cell and Molecular Biology, Uppsala University.
Husargatan 3, Box 596,  	75124 Uppsala, Sweden
phone:	46 18 471 4205		fax: 46 18 511 755
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