Hello! That error means that you have to compile fftw with the type
prefixes on and choose the correct type (floating point or double) in the
Makefile.
http://www.fftw.org/fftw2_doc/fftw_6.html
Hope that helps!
-Jared
On Mon, Nov 20, 2017 at 3:26 PM, Yves Revaz <yves.revaz_at_epfl.ch> wrote:
> On 20/11/17 21:18, Cynthia Saad (Student) wrote:
>
> right, i was just reading this. i added
> OPT += -DH5_USE_16_API
> to the makefile.
>
> then make gives me this
>
>
>
> pm_periodic.c:21:28: fatal error: srfftw_mpi.h: No such file or directory
>
>
> srfftw_mpi.h missing from the fftw lib.
>
> They are some detailed instructions on how to compile gadget-2 (and fftw)
> on mac os or linux here:
> https://obswww.unige.ch/lastro/conferences/sf2013/handson.cgi
>
> Cheers,
>
> yves
>
>
>
> #include <srfftw_mpi.h>
> ^
> compilation terminated.
> <builtin>: recipe for target 'pm_periodic.o' failed
> make: *** [pm_periodic.o] Error 1
>
>
> excuse my ignorance
> ------------------------------
> *From:* Yves Revaz <yves.revaz_at_epfl.ch> <yves.revaz_at_epfl.ch>
> *Sent:* Monday, November 20, 2017 10:14:01 PM
> *To:* gadget-list_at_MPA-Garching.MPG.DE
> *Subject:* Re: [gadget-list] error compiling gadget
>
>
> Dear Cynthia,
>
> It seems that you are linking with the wrong version of HDF5.
> See
>
> https://wwwmpa.mpa-garching.mpg.de/gadget/gadget-list/0432.html
> <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwwwmpa.mpa-garching.mpg.de%2Fgadget%2Fgadget-list%2F0432.html&data=02%7C01%7Ccrs07%40mail.aub.edu%7C853708b765564ae8bc4108d530539995%7Cc7ba5b1a41b643e9a1206ff654ada137%7C1%7C0%7C636468057989353575&sdata=9CKxsQq3YqQ7eOomN5XmhiIUFGCsuFSRCZLz4UmU%2BP0%3D&reserved=0>
>
> for more informations.
>
>
> Cheers,
>
> yves
>
> On 20/11/17 21:09, Cynthia Saad (Student) wrote:
>
> Dear all,
>
> I am new with GADGET and having trouble compiling it. make gives me this
> error and i can't figure out what to do. https://justpaste.it/1dqg0
> <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjustpaste.it%2F1dqg0&data=02%7C01%7Ccrs07%40mail.aub.edu%7C853708b765564ae8bc4108d530539995%7Cc7ba5b1a41b643e9a1206ff654ada137%7C1%7C0%7C636468057989353575&sdata=VKWpZNkFf8VeoQkaIQzsKcx9ozL645ApM82wDVrCJgY%3D&reserved=0>
>
> what am i doing wrong?
>
> thank you for your much appreciated help,
>
> cynthia
>
>
> --
>
> ---------------------------------------------------------------------
> Dr. Yves Revaz
> Laboratory of Astrophysics
> Ecole Polytechnique Fédérale de Lausanne (EPFL)
> Observatoire de Sauverny Tel : +41 22 379 24 28 <+41%2022%20379%2024%2028>
> 51. Ch. des Maillettes Fax : +41 22 379 22 05 <+41%2022%20379%2022%2005>
> 1290 Sauverny e-mail : Yves.Revaz_at_epfl.ch
> SWITZERLAND Web : http://people.epfl.ch/yves.revaz <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpeople.epfl.ch%2Fyves.revaz&data=02%7C01%7Ccrs07%40mail.aub.edu%7C853708b765564ae8bc4108d530539995%7Cc7ba5b1a41b643e9a1206ff654ada137%7C1%7C0%7C636468057989353575&sdata=tS%2Fmf4BJPSBfg0%2FBM2SyYLRNli7Gj1x4wFqxXFxj5PE%3D&reserved=0>
> ---------------------------------------------------------------------
>
>
> --
>
> ---------------------------------------------------------------------
> Dr. Yves Revaz
> Laboratory of Astrophysics
> Ecole Polytechnique Fédérale de Lausanne (EPFL)
> Observatoire de Sauverny Tel : +41 22 379 24 28 <+41%2022%20379%2024%2028>
> 51. Ch. des Maillettes Fax : +41 22 379 22 05 <+41%2022%20379%2022%2005>
> 1290 Sauverny e-mail : Yves.Revaz_at_epfl.ch
> SWITZERLAND Web : http://people.epfl.ch/yves.revaz
> ---------------------------------------------------------------------
>
>
>
> -----------------------------------------------------------
>
> 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
>
>
Received on 2017-11-20 21:34:37