Commit 05dee395 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Print library information in the HDF5 as well

parent 77f68508
......@@ -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);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment