lanl / phoebus

Phifty One Ergs Blows Up A Star
BSD 3-Clause "New" or "Revised" License
32 stars 0 forks source link

Getting things running on a Mac PC #213

Open henshs opened 5 months ago

henshs commented 5 months ago

I have managed to compile and run phoebus on my Mac. It may be worth noting that I have used homebrew to install other dependencies. I used gcc-13 (installed by homebrew) to compile it by the following command

cmake -DCMAKE_CXX_COMPILER=/opt/homebrew/opt/gcc/bin/g++-13 -DCMAKE_C_COMPILER=/opt/homebrew/opt/gcc/bin/gcc-13 .. .

shocktube is running without any issues.

I have checked it also for blast-wave and tov problems. There are issues related to HDF5 compression which can be resolved by using of following flag during the compilation

-DPARTHENON_DISABLE_HDF5_COMPRESSION=ON .

Additionally, for tov one has to compile with the MonopoleSPh or MonopoleCart which can be set at compile time by the following flag -DPHOEBUS_GEOMETRY=MonopoleSph or -DPHOEBUS_GEOMETRY=MonopoleCart respectively.