Skip to content
Snippets Groups Projects
Commit 05dee395 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Print library information in the HDF5 as well

parent 77f68508
No related branches found
No related tags found
2 merge requests!136Master,!79First version of the multiple time-stepping
......@@ -360,7 +360,15 @@ void writeCodeDescription(hid_t h_file) {
writeAttribute_s(h_grpcode, "Compiler Version", compiler_version());
writeAttribute_s(h_grpcode, "Git Branch", git_branch());
writeAttribute_s(h_grpcode, "Git Revision", git_revision());
writeAttribute_s(h_grpcode, "HDF5 library version", hdf5_version());
#ifdef WITH_MPI
writeAttribute_s(h_grpcode, "MPI library", mpi_version());
#ifdef HAVE_METIS
writeAttribute_s(h_grpcode,"METIS library version", metis_version());
#endif
#else
writeAttribute_s(h_grpcode, "MPI library", "Non-MPI version of SWIFT");
#endif
H5Gclose(h_grpcode);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment