[gmx-users] problem building Gromacs 4.5.3 using the Intel compiler

2010-12-13 Thread Miah Wadud Dr (ITCS)
Hello,

I am trying to build Gromacs 4.5.3 using the Intel compiler, but I am 
encountering the following problems when I type make:

/bin/sh ../../libtool --tag=CC   --mode=link mpicc  -O3 -tpp7 -axW -ip -w 
-msse2 -funroll-all-loops -std=gnu99  -L/gpfs/grace/fftw-3.2.2/lib   -o grompp 
grompp.o libgmxpreprocess_mpi_d.la  ../mdlib/libmd_mpi_d.la 
../gmxlib/libgmx_mpi_d.la  -lnsl -lm
mpicc -O3 -tpp7 -axW -ip -w -msse2 -funroll-all-loops -std=gnu99 -o grompp 
grompp.o  -L/gpfs/grace/fftw-3.2.2/lib ./.libs/libgmxpreprocess_mpi_d.a 
/gpfs/ueasystem/grace/gromacs-4.5.3/src/mdlib/.libs/libmd_mpi_d.a 
../mdlib/.libs/libmd_mpi_d.a /gpfs/grace/fftw-3.2.2/lib/libfftw3.a 
/gpfs/ueasystem/grace/gromacs-4.5.3/src/gmxlib/.libs/libgmx_mpi_d.a 
../gmxlib/.libs/libgmx_mpi_d.a -lnsl -lm
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(mapflags.o): In function 
`timelimit_to_flags':
/gpfs/ueasystem/grace/fftw-3.2.2/api/./mapflags.c:70: undefined reference to 
`__fmth_i_dlog'
/gpfs/ueasystem/grace/fftw-3.2.2/api/./mapflags.c:70: undefined reference to 
`__fmth_i_dlog'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(timer.o): In function `elapsed':
/gpfs/ueasystem/grace/fftw-3.2.2/kernel/./cycle.h:244: undefined reference to 
`__mth_i_dfloatuk'
/gpfs/ueasystem/grace/fftw-3.2.2/kernel/./cycle.h:244: undefined reference to 
`__mth_i_dfloatuk'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(generic.o): In function `apply':
/gpfs/ueasystem/grace/fftw-3.2.2/dft/./generic.c:73: undefined reference to 
`__builtin_alloca'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(lt8-generic.o): In function `apply_r2hc':
/gpfs/ueasystem/grace/fftw-3.2.2/rdft/./generic.c:74: undefined reference to 
`__builtin_alloca'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(lt8-generic.o): In function `apply_hc2r':
/gpfs/ueasystem/grace/fftw-3.2.2/rdft/./generic.c:128: undefined reference to 
`__builtin_alloca'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(vrank3-transpose.o): In function 
`transpose_toms513':
/gpfs/ueasystem/grace/fftw-3.2.2/rdft/./vrank3-transpose.c:536: undefined 
reference to `__c_mzero1'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(trig.o): In function `real_cexp':
/gpfs/ueasystem/grace/fftw-3.2.2/kernel/./trig.c:65: undefined reference to 
`__fmth_i_dsincos'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(dht-rader.o): In function `apply':
/gpfs/ueasystem/grace/fftw-3.2.2/rdft/./dht-rader.c:79: undefined reference to 
`__c_mzero8'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(dht-rader.o): In function `mkomega':
/gpfs/ueasystem/grace/fftw-3.2.2/rdft/./dht-rader.c:184: undefined reference to 
`__c_mzero8'
/gpfs/ueasystem/grace/fftw-3.2.2/rdft/./dht-rader.c:187: undefined reference to 
`__c_mcopy8_bwd'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(ct-hc2c-direct.o): In function 
`apply_buf':
/gpfs/ueasystem/grace/fftw-3.2.2/rdft/./ct-hc2c-direct.c:130: undefined 
reference to `__builtin_alloca'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(dftw-direct.o): In function `apply_buf':
/gpfs/ueasystem/grace/fftw-3.2.2/dft/./dftw-direct.c:103: undefined reference 
to `__builtin_alloca'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(direct.o): In function `apply_buf':
/gpfs/ueasystem/grace/fftw-3.2.2/dft/./direct.c:74: undefined reference to 
`__builtin_alloca'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(direct-r2c.o): In function `iterate':
/gpfs/ueasystem/grace/fftw-3.2.2/rdft/./direct-r2c.c:129: undefined reference 
to `__builtin_alloca'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(hc2hc-direct.o): In function `apply_buf':
/gpfs/ueasystem/grace/fftw-3.2.2/rdft/./hc2hc-direct.c:96: undefined reference 
to `__builtin_alloca'
make[3]: *** [grompp] Error 1
make[3]: Leaving directory `/gpfs/ueasystem/grace/gromacs-4.5.3/src/kernel'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/gpfs/ueasystem/grace/gromacs-4.5.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/gpfs/ueasystem/grace/gromacs-4.5.3/src'
make: *** [all-recursive] Error 1
[r...@head00 gromacs-4.5.3]#

Any help will be greatly appreciated. The configure command prints the 
following:

[r...@head00 gromacs-4.5.3]# ./configure --enable-double --enable-mpi 
--program-suffix=_mpi_d --prefix=/gpfs/grace/gromacs-4.5.3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /gpfs/grace/intel/Compiler/11.1/073/bin/intel64/icc accepts 
-g... yes
checking for /gpfs/grace/intel/Compiler/11.1/073/bin/intel64/icc option to 
accept ISO C89... none needed

Re: [gmx-users] problem building Gromacs 4.5.3 using the Intel compiler

2010-12-13 Thread Mark Abraham


On 12/13/10, Miah Wadud Dr (ITCS)  w.m...@uea.ac.uk wrote:
 Hello,
 
 I am trying to build Gromacs 4.5.3 using the Intel compiler, but I am 
 encountering the following problems when I type make:
 

It seems like there's some mismatch between how FFTW was compiled and how 
you're linking to it. Try a fresh FFTW compilation with this compiler, etc.

Mark

 
 /bin/sh ../../libtool --tag=CC   --mode=link mpicc  -O3 -tpp7 -axW -ip -w 
 -msse2 -funroll-all-loops -std=gnu99  -L/gpfs/grace/fftw-3.2.2/lib   -o 
 grompp grompp.o libgmxpreprocess_mpi_d.la  ../mdlib/libmd_mpi_d.la 
 ../gmxlib/libgmx_mpi_d.la  -lnsl -lm
 mpicc -O3 -tpp7 -axW -ip -w -msse2 -funroll-all-loops -std=gnu99 -o grompp 
 grompp.o  -L/gpfs/grace/fftw-3.2.2/lib ./.libs/libgmxpreprocess_mpi_d.a 
 /gpfs/ueasystem/grace/gromacs-4.5.3/src/mdlib/.libs/libmd_mpi_d.a 
 ../mdlib/.libs/libmd_mpi_d.a /gpfs/grace/fftw-3.2.2/lib/libfftw3.a 
 /gpfs/ueasystem/grace/gromacs-4.5.3/src/gmxlib/.libs/libgmx_mpi_d.a 
 ../gmxlib/.libs/libgmx_mpi_d.a -lnsl -lm
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(mapflags.o): In function 
 `timelimit_to_flags':
 /gpfs/ueasystem/grace/fftw-3.2.2/api/./mapflags.c:70: undefined reference to 
 `__fmth_i_dlog'
 /gpfs/ueasystem/grace/fftw-3.2.2/api/./mapflags.c:70: undefined reference to 
 `__fmth_i_dlog'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(timer.o): In function `elapsed':
 /gpfs/ueasystem/grace/fftw-3.2.2/kernel/./cycle.h:244: undefined reference to 
 `__mth_i_dfloatuk'
 /gpfs/ueasystem/grace/fftw-3.2.2/kernel/./cycle.h:244: undefined reference to 
 `__mth_i_dfloatuk'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(generic.o): In function `apply':
 /gpfs/ueasystem/grace/fftw-3.2.2/dft/./generic.c:73: undefined reference to 
 `__builtin_alloca'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(lt8-generic.o): In function 
 `apply_r2hc':
 /gpfs/ueasystem/grace/fftw-3.2.2/rdft/./generic.c:74: undefined reference to 
 `__builtin_alloca'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(lt8-generic.o): In function 
 `apply_hc2r':
 /gpfs/ueasystem/grace/fftw-3.2.2/rdft/./generic.c:128: undefined reference to 
 `__builtin_alloca'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(vrank3-transpose.o): In function 
 `transpose_toms513':
 /gpfs/ueasystem/grace/fftw-3.2.2/rdft/./vrank3-transpose.c:536: undefined 
 reference to `__c_mzero1'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(trig.o): In function `real_cexp':
 /gpfs/ueasystem/grace/fftw-3.2.2/kernel/./trig.c:65: undefined reference to 
 `__fmth_i_dsincos'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(dht-rader.o): In function `apply':
 /gpfs/ueasystem/grace/fftw-3.2.2/rdft/./dht-rader.c:79: undefined reference 
 to `__c_mzero8'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(dht-rader.o): In function `mkomega':
 /gpfs/ueasystem/grace/fftw-3.2.2/rdft/./dht-rader.c:184: undefined reference 
 to `__c_mzero8'
 /gpfs/ueasystem/grace/fftw-3.2.2/rdft/./dht-rader.c:187: undefined reference 
 to `__c_mcopy8_bwd'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(ct-hc2c-direct.o): In function 
 `apply_buf':
 /gpfs/ueasystem/grace/fftw-3.2.2/rdft/./ct-hc2c-direct.c:130: undefined 
 reference to `__builtin_alloca'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(dftw-direct.o): In function `apply_buf':
 /gpfs/ueasystem/grace/fftw-3.2.2/dft/./dftw-direct.c:103: undefined reference 
 to `__builtin_alloca'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(direct.o): In function `apply_buf':
 /gpfs/ueasystem/grace/fftw-3.2.2/dft/./direct.c:74: undefined reference to 
 `__builtin_alloca'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(direct-r2c.o): In function `iterate':
 /gpfs/ueasystem/grace/fftw-3.2.2/rdft/./direct-r2c.c:129: undefined reference 
 to `__builtin_alloca'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(hc2hc-direct.o): In function 
 `apply_buf':
 /gpfs/ueasystem/grace/fftw-3.2.2/rdft/./hc2hc-direct.c:96: undefined 
 reference to `__builtin_alloca'
 make[3]: *** [grompp] Error 1
 make[3]: Leaving directory `/gpfs/ueasystem/grace/gromacs-4.5.3/src/kernel'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/gpfs/ueasystem/grace/gromacs-4.5.3/src'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/gpfs/ueasystem/grace/gromacs-4.5.3/src'
 make: *** [all-recursive] Error 1
 [r...@head00 gromacs-4.5.3]#
 
 Any help will be greatly appreciated. The configure command prints the 
 following:
 
 [r...@head00 gromacs-4.5.3]# ./configure --enable-double --enable-mpi 
 --program-suffix=_mpi_d --prefix=/gpfs/grace/gromacs-4.5.3
 checking build system type... x86_64-unknown-linux-gnu
 checking host system type... x86_64-unknown-linux-gnu
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... /bin/mkdir -p
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking how to create a ustar tar archive... gnutar
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for 

Re: [gmx-users] problem building Gromacs 4.5.3 using the Intel compiler

2010-12-13 Thread Carsten Kutzner
Hi,

you might also need to use the mpiicc compiler wrapper instead
of the mpicc to enforce using icc instead of gcc.

Carsten

On Dec 13, 2010, at 2:20 PM, Mark Abraham wrote:

 
 
 On 12/13/10, Miah Wadud Dr (ITCS) w.m...@uea.ac.uk wrote:
 Hello,
 
 I am trying to build Gromacs 4.5.3 using the Intel compiler, but I am 
 encountering the following problems when I type make:
 
 It seems like there's some mismatch between how FFTW was compiled and how 
 you're linking to it. Try a fresh FFTW compilation with this compiler, etc.
 
 Mark
 
 /bin/sh ../../libtool --tag=CC   --mode=link mpicc  -O3 -tpp7 -axW -ip -w 
 -msse2 -funroll-all-loops -std=gnu99  -L/gpfs/grace/fftw-3.2.2/lib   -o 
 grompp grompp.o libgmxpreprocess_mpi_d.la  ../mdlib/libmd_mpi_d.la 
 ../gmxlib/libgmx_mpi_d.la  -lnsl -lm
 mpicc -O3 -tpp7 -axW -ip -w -msse2 -funroll-all-loops -std=gnu99 -o grompp 
 grompp.o  -L/gpfs/grace/fftw-3.2.2/lib ./.libs/libgmxpreprocess_mpi_d.a 
 /gpfs/ueasystem/grace/gromacs-4.5.3/src/mdlib/.libs/libmd_mpi_d.a 
 ../mdlib/.libs/libmd_mpi_d.a /gpfs/grace/fftw-3.2.2/lib/libfftw3.a 
 /gpfs/ueasystem/grace/gromacs-4.5.3/src/gmxlib/.libs/libgmx_mpi_d.a 
 ../gmxlib/.libs/libgmx_mpi_d.a -lnsl -lm
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(mapflags.o): In function 
 `timelimit_to_flags':
 /gpfs/ueasystem/grace/fftw-3.2.2/api/./mapflags.c:70: undefined reference to 
 `__fmth_i_dlog'
 /gpfs/ueasystem/grace/fftw-3.2.2/api/./mapflags.c:70: undefined reference to 
 `__fmth_i_dlog'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(timer.o): In function `elapsed':
 /gpfs/ueasystem/grace/fftw-3.2.2/kernel/./cycle.h:244: undefined reference 
 to `__mth_i_dfloatuk'
 /gpfs/ueasystem/grace/fftw-3.2.2/kernel/./cycle.h:244: undefined reference 
 to `__mth_i_dfloatuk'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(generic.o): In function `apply':
 /gpfs/ueasystem/grace/fftw-3.2.2/dft/./generic.c:73: undefined reference to 
 `__builtin_alloca'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(lt8-generic.o): In function 
 `apply_r2hc':
 /gpfs/ueasystem/grace/fftw-3.2.2/rdft/./generic.c:74: undefined reference to 
 `__builtin_alloca'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(lt8-generic.o): In function 
 `apply_hc2r':
 /gpfs/ueasystem/grace/fftw-3.2.2/rdft/./generic.c:128: undefined reference 
 to `__builtin_alloca'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(vrank3-transpose.o): In function 
 `transpose_toms513':
 /gpfs/ueasystem/grace/fftw-3.2.2/rdft/./vrank3-transpose.c:536: undefined 
 reference to `__c_mzero1'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(trig.o): In function `real_cexp':
 /gpfs/ueasystem/grace/fftw-3.2.2/kernel/./trig.c:65: undefined reference to 
 `__fmth_i_dsincos'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(dht-rader.o): In function `apply':
 /gpfs/ueasystem/grace/fftw-3.2.2/rdft/./dht-rader.c:79: undefined reference 
 to `__c_mzero8'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(dht-rader.o): In function `mkomega':
 /gpfs/ueasystem/grace/fftw-3.2.2/rdft/./dht-rader.c:184: undefined reference 
 to `__c_mzero8'
 /gpfs/ueasystem/grace/fftw-3.2.2/rdft/./dht-rader.c:187: undefined reference 
 to `__c_mcopy8_bwd'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(ct-hc2c-direct.o): In function 
 `apply_buf':
 /gpfs/ueasystem/grace/fftw-3.2.2/rdft/./ct-hc2c-direct.c:130: undefined 
 reference to `__builtin_alloca'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(dftw-direct.o): In function 
 `apply_buf':
 /gpfs/ueasystem/grace/fftw-3.2.2/dft/./dftw-direct.c:103: undefined 
 reference to `__builtin_alloca'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(direct.o): In function `apply_buf':
 /gpfs/ueasystem/grace/fftw-3.2.2/dft/./direct.c:74: undefined reference to 
 `__builtin_alloca'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(direct-r2c.o): In function `iterate':
 /gpfs/ueasystem/grace/fftw-3.2.2/rdft/./direct-r2c.c:129: undefined 
 reference to `__builtin_alloca'
 /gpfs/grace/fftw-3.2.2/lib/libfftw3.a(hc2hc-direct.o): In function 
 `apply_buf':
 /gpfs/ueasystem/grace/fftw-3.2.2/rdft/./hc2hc-direct.c:96: undefined 
 reference to `__builtin_alloca'
 make[3]: *** [grompp] Error 1
 make[3]: Leaving directory `/gpfs/ueasystem/grace/gromacs-4.5.3/src/kernel'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/gpfs/ueasystem/grace/gromacs-4.5.3/src'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/gpfs/ueasystem/grace/gromacs-4.5.3/src'
 make: *** [all-recursive] Error 1
 [r...@head00 gromacs-4.5.3]#
 
 Any help will be greatly appreciated. The configure command prints the 
 following:
 
 [r...@head00 gromacs-4.5.3]# ./configure --enable-double --enable-mpi 
 --program-suffix=_mpi_d --prefix=/gpfs/grace/gromacs-4.5.3
 checking build system type... x86_64-unknown-linux-gnu
 checking host system type... x86_64-unknown-linux-gnu
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... /bin/mkdir -p
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking how to create a ustar tar 

RE: [gmx-users] problem building Gromacs 4.5.3 using the Intel compiler

2010-12-13 Thread Miah Wadud Dr (ITCS)
Hi,

thanks for the advice. You were spot on: the FFTW library was compiled  using 
PGI and Gromacs using Intel, so I have re-compiled FFTW using Intel and it all 
works now.

Thanks ever so much people!

From: gmx-users-boun...@gromacs.org [mailto:gmx-users-boun...@gromacs.org] On 
Behalf Of Mark Abraham
Sent: Monday, December 13, 2010 1:20 PM
To: Discussion list for GROMACS users
Subject: Re: [gmx-users] problem building Gromacs 4.5.3 using the Intel compiler



On 12/13/10, Miah Wadud Dr (ITCS) w.m...@uea.ac.uk wrote:
Hello,

I am trying to build Gromacs 4.5.3 using the Intel compiler, but I am 
encountering the following problems when I type make:

It seems like there's some mismatch between how FFTW was compiled and how 
you're linking to it. Try a fresh FFTW compilation with this compiler, etc.

Mark


/bin/sh ../../libtool --tag=CC   --mode=link mpicc  -O3 -tpp7 -axW -ip -w 
-msse2 -funroll-all-loops -std=gnu99  -L/gpfs/grace/fftw-3.2.2/lib   -o grompp 
grompp.o libgmxpreprocess_mpi_d.la  ../mdlib/libmd_mpi_d.la 
../gmxlib/libgmx_mpi_d.la  -lnsl -lm
mpicc -O3 -tpp7 -axW -ip -w -msse2 -funroll-all-loops -std=gnu99 -o grompp 
grompp.o  -L/gpfs/grace/fftw-3.2.2/lib ./.libs/libgmxpreprocess_mpi_d.a 
/gpfs/ueasystem/grace/gromacs-4.5.3/src/mdlib/.libs/libmd_mpi_d.a 
../mdlib/.libs/libmd_mpi_d.a /gpfs/grace/fftw-3.2.2/lib/libfftw3.a 
/gpfs/ueasystem/grace/gromacs-4.5.3/src/gmxlib/.libs/libgmx_mpi_d.a 
../gmxlib/.libs/libgmx_mpi_d.a -lnsl -lm
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(mapflags.o): In function 
`timelimit_to_flags':
/gpfs/ueasystem/grace/fftw-3.2.2/api/./mapflags.c:70: undefined reference to 
`__fmth_i_dlog'
/gpfs/ueasystem/grace/fftw-3.2.2/api/./mapflags.c:70: undefined reference to 
`__fmth_i_dlog'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(timer.o): In function `elapsed':
/gpfs/ueasystem/grace/fftw-3.2.2/kernel/./cycle.h:244: undefined reference to 
`__mth_i_dfloatuk'
/gpfs/ueasystem/grace/fftw-3.2.2/kernel/./cycle.h:244: undefined reference to 
`__mth_i_dfloatuk'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(generic.o): In function `apply':
/gpfs/ueasystem/grace/fftw-3.2.2/dft/./generic.c:73: undefined reference to 
`__builtin_alloca'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(lt8-generic.o): In function `apply_r2hc':
/gpfs/ueasystem/grace/fftw-3.2.2/rdft/./generic.c:74: undefined reference to 
`__builtin_alloca'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(lt8-generic.o): In function `apply_hc2r':
/gpfs/ueasystem/grace/fftw-3.2.2/rdft/./generic.c:128: undefined reference to 
`__builtin_alloca'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(vrank3-transpose.o): In function 
`transpose_toms513':
/gpfs/ueasystem/grace/fftw-3.2.2/rdft/./vrank3-transpose.c:536: undefined 
reference to `__c_mzero1'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(trig.o): In function `real_cexp':
/gpfs/ueasystem/grace/fftw-3.2.2/kernel/./trig.c:65: undefined reference to 
`__fmth_i_dsincos'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(dht-rader.o): In function `apply':
/gpfs/ueasystem/grace/fftw-3.2.2/rdft/./dht-rader.c:79: undefined reference to 
`__c_mzero8'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(dht-rader.o): In function `mkomega':
/gpfs/ueasystem/grace/fftw-3.2.2/rdft/./dht-rader.c:184: undefined reference to 
`__c_mzero8'
/gpfs/ueasystem/grace/fftw-3.2.2/rdft/./dht-rader.c:187: undefined reference to 
`__c_mcopy8_bwd'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(ct-hc2c-direct.o): In function 
`apply_buf':
/gpfs/ueasystem/grace/fftw-3.2.2/rdft/./ct-hc2c-direct.c:130: undefined 
reference to `__builtin_alloca'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(dftw-direct.o): In function `apply_buf':
/gpfs/ueasystem/grace/fftw-3.2.2/dft/./dftw-direct.c:103: undefined reference 
to `__builtin_alloca'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(direct.o): In function `apply_buf':
/gpfs/ueasystem/grace/fftw-3.2.2/dft/./direct.c:74: undefined reference to 
`__builtin_alloca'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(direct-r2c.o): In function `iterate':
/gpfs/ueasystem/grace/fftw-3.2.2/rdft/./direct-r2c.c:129: undefined reference 
to `__builtin_alloca'
/gpfs/grace/fftw-3.2.2/lib/libfftw3.a(hc2hc-direct.o): In function `apply_buf':
/gpfs/ueasystem/grace/fftw-3.2.2/rdft/./hc2hc-direct.c:96: undefined reference 
to `__builtin_alloca'
make[3]: *** [grompp] Error 1
make[3]: Leaving directory `/gpfs/ueasystem/grace/gromacs-4.5.3/src/kernel'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/gpfs/ueasystem/grace/gromacs-4.5.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/gpfs/ueasystem/grace/gromacs-4.5.3/src'
make: *** [all-recursive] Error 1
[r...@head00 gromacs-4.5.3]#

Any help will be greatly appreciated. The configure command prints the 
following:

[r...@head00 gromacs-4.5.3]# ./configure --enable-double --enable-mpi 
--program-suffix=_mpi_d --prefix=/gpfs/grace/gromacs-4.5.3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether