Open ZahraRe2021 opened 2 years ago
Hey @ZahraRe2021,
Thank you for reaching out and the detailed report.
We transitioned WarpX to use cmake
last year. From your link, it looks like you try to build the October 2019 release of WarpX, which is outdated.
Please follow the guidance here to do a developer install with spack: https://warpx.readthedocs.io/en/22.04/install/cmake.html
spack load
) https://warpx.readthedocs.io/en/22.04/install/dependencies.html#spack-macos-linux
# find dependencies & configure
# we will download AMReX, PICSAR and openPMD-api for your automatically and by default
cmake -S . -B build
cmake --build build -j 4
All build options are documented here, as you see openPMD is on by default: https://warpx.readthedocs.io/en/22.04/install/cmake.html#build-options
Let me know if you encounter an issues with these steps :)
Hi, i am trying to install openPMD on my ubuntu20.4, X64. I need it to visualize WarpX codes. I don't know why it is not possible to compile warpX with
as described here: https://warpx.readthedocs.io/en/19.10/building/openpmd.html
So, I tried:
But I got this error:
Thanks for your help.