lib/hpc/utils.pm

get_mpi_src

 get_mpi_src();

Returns the source code which is used based on HPC_LIB job variable. The variable indicates the HPC library which the mpi use to compile the source code. if the variable is not set, one of the other MPI implementations will be used(mpich, openmpi, mvapich2).

Returns an array with the mpi compiler and the source code located in /data/hpc

relogin_root

 relogin_root();

This sub logouts the root user and relogins him from terminal. Useful to rerun configuration scripts after some changes

setup_scientific_module

 setup_scientific_module();

Installs the various scientific HPC libraries and prepares the environment for use https://documentation.suse.com/sle-hpc/15-SP3/single-html/hpc-guide/#sec-compute-lib

When subroutine returns immediately returns 1 to indicate that no relogin has occurred.