[gmx-users] SGI installation problem: forcing the compilation with gcc

dastmalchi.s at tbzmed.ac.ir dastmalchi.s at tbzmed.ac.ir
Thu Feb 2 03:07:00 CET 2006


Hi Erik,

I am not sure if this is right but I have changed the
       gh      = mk_rgrid(ix,iy,iz);
to
       gh      =(real ***)mk_rgrid(ix,iy,iz);

in the source file ghat.c and it was compiled.
then I got the error compiling gmx-_fft_fftw3.c file:

cc-3316 cc: ERROR File = gmx-_fft_fftw3.c, Line = 100 (and many other
lines as well)
The expression must be a pointer to a complete object type.

     pv += 8;
     ^
...
...
12 errors detected in the .....


Finally I gave up and installed version 3.1.4 of gromacs.

Cheers, Siavoush




> Hi,
>
> You can always set the environment variable CC to the compiler you
> want to use before running configure.
>
>
> However, the error you're getting is really easy to fix - it just
> happens because we changed a header file, and
> forgot to do
>
> #include "shift_util.h"
>
> in the header of ghat.c. Add that, and it should hopefully compile
> fine with the IRIX compilers too.
>
> Cheers,
>
> Erik
>
> On Jan 31, 2006, at 6:10 AM, Dastmalchi wrote:
>
>> Hi there,
>>
>> Is there a configure flag to force the use of GCC?
>> Do you think this may fix the problem that I have in installation   of
>> GROMACS on my sgi machine? As I posted my problem before I am
>> getting the following error message:
>>
>> ....
>> ghat.lo ghat.c
>> cc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../include "-DGMXLIBDIR=
>> \"/usr/people/siavoush/programs/gromacs-3.3/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
>> ghat.c -Wp,-MDupdate,.deps/ghat.TPlo -o ghat.o
>> cc-1515 cc: ERROR File = ghat.c, Line = 233
>>   A value of type "int" cannot be assigned to an entity of type
>> "real ***".
>>
>>     gh      = mk_rgrid(ix,iy,iz);
>>             ^
>>
>> 1 error detected in the compilation of "ghat.c".
>> *** Error code 1 (bu21)
>> *** Error code 1 (bu21)
>> *** Error code 1 (bu21)
>> *** Error code 1 (bu21)
>>
>> Best regards,
>> Siavoush
>> _______________________________________________
>> 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
>
> -----------------------------------------------------------
> Erik Lindahl  <lindahl at sbc.su.se>     Backup address:
> <erik.lindahl at gmail.com>
> Assistant Professor, Computational Structural Biology
> Stockholm Bioinformatics Center, Stockholm University, SE 106 91
> Stockholm
> Phone: +46 8 5537 8564     Fax: +46 8 5537 8214






More information about the gromacs.org_gmx-users mailing list