Hello,
I am using GADGET-2 on the IBM pSeries Linux cluster at Boston
University. I have no trouble compiling the code with the gcc compiler, except for when
I choose the PMGRID option in the Makefile. The problem originates from an
include statement for the srfftw_mpi.h library in the file pm_nonperiodic.c. The
system administrator informed me that this library does not exist on the node
of the cluster to which I have access. Attempts to use the
DOUBLEPRECISION_FFTW option in the Makefile result in similar errors, which are basically (1) no
such file (i.e., library) exists, and (2) undeclared identifiers due to the
missing library.
I tried substituting the rfftw_mpi.h library instead of srfftw_mpi.h,
and this fixed the errors in pm_nonperiodic.c, but four new compile errors
occurred:
ld: 0711-317 ERROR: Undefined symbol: .rfftwnd_real_to_complex
ld: 0711-317 ERROR: Undefined symbol: .rfftwnd_complex_to_real
ld: 0711-317 ERROR: Undefined symbol: .rfftwnd_destroy_plan
ld: 0711-317 ERROR: Undefined symbol: .rfftwnd_create_plan
It seems that the "s" in the missing library name refers to single precision.
Questions:
(1) Why is the srfftw_mpi.h library used, instead of some other library?
(2) Is there another fftw library that can be substituted in its place?
(Permission to install the necessary library might be an issue.)
(3) Is there some other fix for this problem?
Thanks,
Phil Clingenpeel
**************Ideas to please picky eaters. Watch video on AOL Living.
(
http://living.aol.com/video/how-to-please-your-picky-eater/rachel-campos-duffy/
2050827?NCID=aolcmp00300000002598)
Received on 2008-02-28 04:21:32