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

Erik Lindahl lindahl at sbc.su.se
Wed Feb 1 16:21:44 CET 2006


My bad - the include should have been

#include "fftgrid.h"

Cheers,

Erik

On Feb 1, 2006, at 10:54 PM, <dastmalchi.s at tbzmed.ac.ir>  
<dastmalchi.s at tbzmed.ac.ir> wrote:

> Hi,
>
> Many thanks for the reply.
> I have tried both setting the CC to gcc and also adding the #include
> "shift_util.h" in the ghat.c file. In either case I am getting the  
> same
> error message as I was getting before.
> I was wondering if there is any thing else that I can try.
> Many thanks for your kind attention.
>
> 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
>
>

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