<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>&nbsp;&nbsp;&nbsp;&nbsp; source='gmx_wham.c' object='gmx_wham.lo' libtool=yes \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DEPDIR=.deps depmode=sgi /bin/sh ../../config/depcomp \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/bin/sh ../../libtool --tag=CC&nbsp;&nbsp;&nbsp; --mode=compile cc -DHAVE_CONFIG_H -I.
-I../../src&nbsp;&nbsp; -I../../include
-DGMXLIBDIR=\"/usr/people/forlemu/gromacs/gromacs-4.0.4/gmx4/share/top\"
-I/usr/people/forlemu/gromacs/fftw-3.2.1/include&nbsp; -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>&nbsp;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>&nbsp; A declaration cannot appear after an executable statement in a block.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; static char *en_unit[5]={NULL,"kJ","kCal","kT",NULL};<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1724<br>&nbsp; A declaration cannot appear after an executable statement in a block.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; static char *en_unit_label[24]={"","E (kJ mol\\S-1\\N)","E (kcal
 mol\\S-1\\N)","E (kT)",};<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1725<br>&nbsp; A declaration cannot appear after an executable statement in a block.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; static char *en_cycl[5]={NULL,"no","yes","weighted",NULL};<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1727<br>&nbsp; A declaration cannot appear after an executable statement in a block.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_pargs pa[] = {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1780<br>&nbsp; A declaration cannot appear after an executable statement in a block.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_filenm fnm[] = {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1793<br>&nbsp; A declaration cannot appear after an executable statement in a block.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int
 i,j,l,nfiles,nwins,nfiles2;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1794<br>&nbsp; A declaration cannot appear after an executable statement in a block.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_UmbrellaHeader header;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1795<br>&nbsp; A declaration cannot appear after an executable statement in a block.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_UmbrellaWindow * window=NULL;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1796<br>&nbsp; A declaration cannot appear after an executable statement in a block.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; double *profile,maxchange=1e20;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1797<br>&nbsp; A declaration cannot appear after an executable statement in a block.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bool
 bMinSet,bMaxSet,bAutoSet,bExact=FALSE;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1798<br>&nbsp; A declaration cannot appear after an executable statement in a block.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; char **fninTpr,**fninPull,**fninPdo,*fnPull;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1799<br>&nbsp; A declaration cannot appear after an executable statement in a block.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FILE *histout,*profout;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br><br>cc-1241 cc: ERROR File = gmx_wham.c, Line = 1923<br>&nbsp; A declaration cannot appear after an executable statement in a block.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; char ylabel[256],title[256];<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<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>