Troubleshooting FAQ¶
This page collects common setup, build, and runtime issues together with practical fixes.
If your issue is not listed yet, please open an issue or submit a documentation update so this FAQ can grow over time.
How to use this page¶
Search for your error message text first.
Follow steps in order.
Re-run the failing command after each change.
Add new solved issues here in the same FAQ format.
FAQ¶
Q: f2py fails while compiling miscellaneous/eos/eos.f90.¶
A: Ensure required Python build tools are installed and available in the active environment.
Install required tools in the active environment:
mamba install numpy meson ninja
Re-run compilation:
cd miscellaneous/eos/
f2py -c eos.f90 -m eos_fort --opt='-O3'
Verify the module import:
python -c 'import eos_fort; print(eos_fort.__file__)'
Q: Build fails because MPI or HDF5 cannot be found.¶
A: Check system dependencies and local build configuration.
Install required system packages (MPI and parallel HDF5).
If auto-detection fails, create/update a machine file in
Make.local/.Update the
INCLUDE,LIBS, andRPATHenvironment variables based on the output ofh5pcc -show, e.g.,INCLUDE = -I/usr/lib/x86_64-linux-gnu/hdf5/openmpi/include LIBS = -L/usr/lib/x86_64-linux-gnu/hdf5/openmpi/lib RPATH = -Wl,-rpath=/usr/lib/x86_64-linux-gnu/hdf5/openmpi/lib
Point
Makefile.configto the selected file via theincludeline.Run
make cleanand rebuild.
See Getting Started for setup details and Make.local/README.md for machine-specific examples.
Q: macOS process is killed immediately¶
A: If Phlegethon is started from an application that is not enabled in macOS developer settings, macOS may terminate it immediately (signal 9) without a stack trace.
Typical symptoms include:
Serial run:
[1] 23301 killed ./run.app
Parallel run:
--------------------------------------------------------------------------
prterun noticed that process rank 1 with PID 23314 on node your-machine exited on
signal 9 (Killed: 9).
--------------------------------------------------------------------------
Fix:
Open
System Settings->Privacy & Security->Developer Tools.Enable the application you use to launch Phlegethon (for example
Terminal,iTerm, orVS Code).Fully quit and reopen that application.
Re-run
./run.appormpirun -n <N> ./run.app.
Q: Python post-processing cannot import project modules.¶
A: Verify environment variables and active environment.
Ensure your environment is activated.
Confirm
PYTHONPATHincludes:<path-to-phlegethon>/python/<path-to-phlegethon>/miscellaneous/eos/
Confirm
PHLEGETHONDATApoints to<path-to-phlegethon>/data/(the trailing ‘/’ is important).Re-open the shell or re-source your shell rc file.
Add a new FAQ entry¶
Use this template when adding new entries:
### Q: <short issue description>
A: <short diagnosis>
1. <step one>
2. <step two>
3. <step three>