<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello,<br><br>I need some help figuring out how to compile gromacs on and sgi or linux machine.<br><br>This is the error I get after using the make command to compile gromacs. Need some suggestions. Thanks<br><br><br><br> source='gmx_wham.c' object='gmx_wham.lo' libtool=yes \<br> DEPDIR=.deps depmode=sgi /bin/sh ../../config/depcomp \<br>
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.
-I../../src -I../../include
-DGMXLIBDIR=\"/usr/people/forlemu/gromacs/gromacs-4.0.4/gmx4/share/top\"
-I/usr/people/forlemu/gromacs/fftw-3.2.1/include -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_wham.lo gmx_wham.c<br> cc
-DHAVE_CONFIG_H -I. -I../../src -I../../include
"-DGMXLIBDIR=\"/usr/people/forlemu/gromacs/gromacs-4.0.4/gmx4/share/top\""
-I/usr/people/forlemu/gromacs/fftw-3.2.1/include -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_wham.c
-Wp,-MDupdate,.deps/gmx_wham.TPlo -o gmx_wham.o<br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1723<br> A declaration cannot appear after an executable statement in a block.<br><br> static char *en_unit[5]={NULL,"kJ","kCal","kT",NULL};<br> ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1724<br> A declaration cannot appear after an executable statement in a block.<br><br> static char *en_unit_label[24]={"","E (kJ mol\\S-1\\N)","E (kcal
mol\\S-1\\N)","E (kT)",};<br> ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1725<br> A declaration cannot appear after an executable statement in a block.<br><br> static char *en_cycl[5]={NULL,"no","yes","weighted",NULL};<br> ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1727<br> A declaration cannot appear after an executable statement in a block.<br><br> t_pargs pa[] = {<br> ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1780<br> A declaration cannot appear after an executable statement in a block.<br><br> t_filenm fnm[] = {<br> ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1793<br> A declaration cannot appear after an executable statement in a block.<br><br> int
i,j,l,nfiles,nwins,nfiles2;<br> ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1794<br> A declaration cannot appear after an executable statement in a block.<br><br> t_UmbrellaHeader header;<br> ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1795<br> A declaration cannot appear after an executable statement in a block.<br><br> t_UmbrellaWindow * window=NULL;<br> ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1796<br> A declaration cannot appear after an executable statement in a block.<br><br> double *profile,maxchange=1e20;<br> ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1797<br> A declaration cannot appear after an executable statement in a block.<br><br> bool
bMinSet,bMaxSet,bAutoSet,bExact=FALSE;<br> ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1798<br> A declaration cannot appear after an executable statement in a block.<br><br> char **fninTpr,**fninPull,**fninPdo,*fnPull;<br> ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1799<br> A declaration cannot appear after an executable statement in a block.<br><br> FILE *histout,*profout;<br> ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1923<br> A declaration cannot appear after an executable statement in a block.<br><br> char ylabel[256],title[256];<br> ^<br><br>13 errors detected in the compilation of "gmx_wham.c".<br>*** Error code 1 (bu21)<br>*** Error code 1 (bu21)<br>*** Error code 1 (bu21)<br>*** Error code 1
(bu21)<br></td></tr></table><br>