Re: srfftw_mpi.h library replacement

From: REVAZ Yves <yves.revaz_at_epfl.ch>
Date: Thu, 28 Feb 2008 08:40:22 +0100

this may help,

http://www.mpa-garching.mpg.de/gadget/gadget-list/0171.html

cheers,

yves


Pcbangor_at_aol.com wrote:
> 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
>
>
>
>
> ------------------------------------------------------------------------
> Delicious ideas to please the pickiest eaters. Watch the video on AOL
> Living.
> <http://living.aol.com/video/how-to-please-your-picky-eater/rachel-campos-duffy/2050827?NCID=aolcmp00300000002598>
> ------------------------------------------------------------------------
>
>
> -----------------------------------------------------------
>
> If you wish to unsubscribe from this mailing, send mail to
> minimalist_at_MPA-Garching.MPG.de with a subject of: unsubscribe gadget-list
> A web-archive of this mailing list is available here:
> http://www.mpa-garching.mpg.de/gadget/gadget-list
>


-- 
                                                 (o o)
--------------------------------------------oOO--(_)--OOo-------
  Yves Revaz
  Laboratory of Astrophysics EPFL
  Observatoire de Sauverny     Tel : ++ 41 22 379 24 28
  51. Ch. des Maillettes       Fax : ++ 41 22 379 22 05
  1290 Sauverny             e-mail : Yves.Revaz_at_epfl.ch
  SWITZERLAND                  Web : http://www.lunix.ch/revaz/
----------------------------------------------------------------
Received on 2008-02-28 09:40:37

This archive was generated by hypermail 2.3.0 : 2023-01-10 10:01:30 CET