How to load ADIOS2 module on Lichtenberg cluster

ADIOS2 is used to transform in a more compact way the output of OpenFOAM experiment runs.

Lichtenberg is the HPC system at TU Darmstadt. You need to be granted access to it.

Step-by-step guide

  1. (Optional) The following command will output combinations of modules that need to be loaded first, before adios2 module.

    module spider adios2/2.5.0
    

    In the case you use OpenFOAM already, its advisable to have loaded modules that are already needed by the project (e.g. CMake and gcc ).

    Pay attention to the specific versions required in the list presented by this command. At the current moment this is written, the cluster supports up to gcc/9.2.0 but the command reports that adios2 needs up to 9.1.0 along with opnempi/4.0.3

  2. Load the required modules. There are 3 commands instead of one, since some modules are available only after their dependencies are already loaded.

    module load cmake/3.17.1 gcc/9.1.0
    module load openmpi/4.0.3 eigen/3.3.7 boost/1.73.0
    module load adios2/2.5.0
    

    When you load adios2 it will automatically load its dependencies (hdf5) but the default version on the cluster might not be supported by adios version. If an error due to dead dynamic link occurs for (libhdf5.so) be sure to check what’s the version number at the end of the shared object in the ‘LD_LIBRARY_PATH’. For example, if on the system hdf5/12.0 is loaded and the path on ‘LD_LIBRARY_PATH’ points to libhdf5.so.200 but when you compile the adiosfoam module for OpenFOAM you get an error looking for libhdf5.so.113 you need to load a previous version of hdf5 (e.g. 10.0.6) in order to solve the problem.

  3. To confirm the module is loaded:

    module list        // adios2/2.5.0 should be present in the list.
    // OR
    module show adios2 // Information should be displayed.
    

See also