Re: Gadget4 Makefile (gadgetconfig.h)

From: Martin Sparre <>
Date: Sat, 5 Nov 2022 09:59:11 +0100

Dear Sipho,

Have you installed python? Can you check whether the “python” command works
in your shell?

If not, a first step would be to try to install python…

Just a quick guess based on the error message.

Good luck getting things to work!

Best wishes,
Martin Sparre

On Sat, 5 Nov 2022 at 07.21, Sipho Lukhozi <> wrote:

> Dear Gadget4 users,
> I am a student trying to follow the Gadget4 instructions to run Nbody/SPH
> simulations. I have some experience with Gadget2, but Gadget4 appears to be
> configured differently.
> I have followed the instructions but I am still unsuccessful in producing
> a Gadget4 executable. I suspect something is not right with my Makefile
> (but I didn't edit it) or my Make,Systype (I only uncommented one computer
> name - 'hydra'). Here is the error I am getting below (ubuntu terminal):
> [image: image.png]
> It looks like it is failing to build 'gadgetconfig.h' or not finding it.
> Please help.
> Thanks,
> Sipho

(image/png attachment: image_png)

Received on 2022-11-05 09:59:34

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