[gmx-users] error installing fftw-2.15 with mpi in ia64 system

Roman Affentranger roman.affentranger at bc.biol.ethz.ch
Fri Apr 22 09:21:57 CEST 2005

Jesus Salgado wrote:

>Hi all,
>We are trying Gromacs-3.2.1 in an Itanium II SGI Altix 3700 cluster.
>Compilation without mpi goes smooth. Performance is also OK, for both single 
>and double precision, with following benchmarks (for villin): 
>5857.2ps/NODE.day (single); 5000.136ps/NODE.day (double).
>But I am having trobles to compile fftw-2.1.5 with --enable-mpi. I get 
>following error after Make:
> ../fftw/.libs/libsfftw.a(twiddle.o)(.text+0x852): In function 
>: undefined reference to `__libm_sincos'
>../fftw/.libs/libsfftw.a(twiddle.o)(.text+0x11f2): In function 
>: undefined reference to `__libm_sincos'
>../fftw/.libs/libsfftw.a(twiddle.o)(.text+0x1762): In function 
>: undefined reference to `__libm_sincos'
>collect2: ld returned 1 exit status
>make[1]: *** [test_sched] Error 1
>make[1]: Leaving directory `/usus/sa/salgado/fftw-2.1.5/mpi'
>make: *** [all-recursive] Error 1
>I'm using the Intel compilers (version 8.1).
>Any idea?
Hi Jesus

The intel compiler does not like variable names starting with underscores.
To the CFLAGS and CXXFLAGS add something like
to rename __libm_sincos (or whatever other name you like to give 
__libm_sincos instead of mylibmsincos).
Run configure again with these CFLAGS/CXXFLAGS and make should work.

Good luck


Roman Affentranger
Swiss Federal Institute of Technology Zurich
Institute of Biochemistry
Schafmattstrasse 18
ETH Hoenggerberg HPM G 9.3
8093 Zurich

More information about the gromacs.org_gmx-users mailing list