Re: error compiling gadget

From: Cynthia Saad (Student) <"Cynthia>
Date: Mon, 20 Nov 2017 20:18:47 +0000

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
 #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 <>
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.

for more informations.



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.<>

what am i doing wrong?

thank you for your much appreciated help,


  Dr. Yves Revaz
  Laboratory of Astrophysics
  Ecole Polytechnique Fédérale de Lausanne (EPFL)
  Observatoire de Sauverny     Tel : +41 22 379 24 28
  51. Ch. des Maillettes       Fax : +41 22 379 22 05
  1290 Sauverny             e-mail :<>
  SWITZERLAND                  Web :<>
Received on 2017-11-20 21:18:51

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