#%Module1.0#####################################################################

proc ModulesHelp { } {

puts stderr " "
puts stderr "This module loads the ScaLAPACK library built with the gnu15 compiler"
puts stderr "toolchain and the mvapich2 MPI stack."
puts stderr " "
puts stderr "\nVersion 2.2.2\n"

}
module-whatis "Name: scalapack built with gnu15 compiler and mvapich2 MPI"
module-whatis "Version: 2.2.2"
module-whatis "Category: runtime library"
module-whatis "Description: A subset of LAPACK routines redesigned for heterogeneous computing"
module-whatis "https://netlib.org/scalapack/"

set     version                     2.2.2

depends-on openblas

prepend-path    LD_LIBRARY_PATH     /opt/ohpc/pub/libs/gnu15/mvapich2/scalapack/2.2.2/lib

setenv          SCALAPACK_DIR        /opt/ohpc/pub/libs/gnu15/mvapich2/scalapack/2.2.2
setenv          SCALAPACK_LIB        /opt/ohpc/pub/libs/gnu15/mvapich2/scalapack/2.2.2/lib
