Report up to date hwloc version information
[alexxy/gromacs.git] / src / gromacs / utility / binaryinformation.cpp
index 495ebe3ae6aacfc186c702508a7c2a4946b1f903..c27e28ad37aa09a0fc803521ea04bd9f4d88c3ba 100644 (file)
@@ -263,10 +263,7 @@ void gmx_print_version_info(gmx::TextWriter *writer)
     writer->writeLine("TNG support:        disabled");
 #endif
 #if GMX_HWLOC
-    writer->writeLine(formatString("Hwloc support:      hwloc-%d.%d.%d",
-                                   HWLOC_API_VERSION>>16,
-                                   (HWLOC_API_VERSION>>8) & 0xFF,
-                                   HWLOC_API_VERSION & 0xFF));
+    writer->writeLine(formatString("Hwloc support:      hwloc-%s", HWLOC_VERSION));
 #else
     writer->writeLine("Hwloc support:      disabled");
 #endif