[gmx-users] SGI installation problem: forcing the compilation with gcc
Erik Lindahl
lindahl at sbc.su.se
Tue Jan 31 10:13:21 CET 2006
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20060131/c114c503/attachment.html>
More information about the gromacs.org_gmx-users
mailing list