HDF5 Output #3326
Unanswered
richardvanderburgh
asked this question in
Q&A
HDF5 Output
#3326
Replies: 1 comment 2 replies
-
I haven't seen this before, but I see this discussion re: similar linking errors on Windows: conda-forge/hdf5-feedstock#58 Could you try adding |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello AMReX community!
AMReX is new to me and I am trying to produce .h5 output files. I have successfully built AMReX with MPI and HDF5 enabled (using CMake on Windows), but I am not sure if I am correctly use the H5 plotting functions (WriteSingleLevelPlotfileHDF5 andWriteMultiLevelPlotfileHDF5).
I could not find any examples in the tutorial for outputting .h5 files, so I replaced the WriteSingleLevelPlotfile call with WriteSingleLevelPlotfile in the Heat_Equation_EX1_C main.cpp file.
After this change I am getting these linker errors:
2>Auto build dll exports
2> Creating library .................amrex-tutorials/ExampleCodes/build/_deps/amrex-build/Src/Debug/amrex_3d.lib and object ...........amrex-tutorials/ExampleCodes/build/_deps/amrex-build/Src/Debug/amrex_3d.exp
2>AMReX_PlotFileUtilHDF5.obj : error LNK2001: unresolved external symbol H5T_C_S1_g
2>AMReX_PlotFileUtilHDF5.obj : error LNK2001: unresolved external symbol H5T_NATIVE_INT_g
2>AMReX_PlotFileUtilHDF5.obj : error LNK2001: unresolved external symbol H5T_NATIVE_LLONG_g
2>AMReX_PlotFileUtilHDF5.obj : error LNK2001: unresolved external symbol H5T_NATIVE_DOUBLE_g
2>AMReX_PlotFileUtilHDF5.obj : error LNK2001: unresolved external symbol H5P_CLS_FILE_ACCESS_ID_g
2>AMReX_PlotFileUtilHDF5.obj : error LNK2001: unresolved external symbol H5P_CLS_DATASET_CREATE_ID_g
2>AMReX_PlotFileUtilHDF5.obj : error LNK2001: unresolved external symbol H5P_CLS_DATASET_XFER_ID_g
Any and all help is greatly appreciated!
Much Thanks!
Beta Was this translation helpful? Give feedback.
All reactions