AMReX-Codes / amrex

AMReX: Software Framework for Block Structured AMR
https://amrex-codes.github.io/amrex
Other
503 stars 336 forks source link

1D HDF5 Build Fails #3937

Closed ax3l closed 1 month ago

ax3l commented 1 month ago

Seen by @kale-j in https://github.com/ECP-WarpX/WarpX/issues/4915

AMReX with 1D Spacedim cannot be built with HDF5 enabled.

 [ 49%] Building CUDA object _deps/fetchedamrex-build/Src/CMakeFiles/amrex_1d.dir/Extern/HDF5/AMReX_PlotFileUtilHDF5.cpp.o
/global/homes/k/kjw/src/warpx/build_noqed/_deps/fetchedamrex-src/Src/Extern/HDF5/AMReX_ParticleHDF5.H(1203): error: no instance of constructor "amrex::Box::Box" matches the argument list
argument types are: ({...}, {...})
Box tmp ({boxes[i1]}, {boxes[i1*2]});
^

1 error detected in the compilation of "/global/homes/k/kjw/src/warpx/build_noqed/_deps/fetchedamrex-src/Src/Particle/AMReX_TracerParticles.cpp".
gmake[2]: *** [_deps/fetchedamrex-build/Src/CMakeFiles/amrex_1d.dir/build.make:1546: _deps/fetchedamrex-build/Src/CMakeFiles/amrex_1d.dir/Particle/AMReX_TracerParticles.cpp.o] Error 2
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [CMakeFiles/Makefile2:1246: _deps/fetchedamrex-build/Src/CMakeFiles/amrex_1d.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2
ax3l commented 1 month ago

cc @houjun @jrood-nrel