Commit b3ee38e5 authored by Christof Schulze's avatar Christof Schulze 😎
Browse files

added trilinos-14.4.0-peri-mpi (for Peridigm)

parent e7a75826
Loading
Loading
Loading
Loading
+45 −0
Original line number Diff line number Diff line
#%Module
#
# Trilinos 14.4.0  (with MPI and Lua)
#
set     version      "14.4.0-1-peri-mpi"

proc ModulesHelp { } {
        global version
        puts stderr "\tSets up the environment for the Trilinos ($version) including Sacado, Stratimikos, MueLu with support for MPI\n"
        puts stderr "\t- TRILINOS_DIR\t- the TRILINOS directory\n"
        puts stderr "\t- TRILINOS_BIN\t- directory where executables can be found\n"
        puts stderr "\t- TRILINOS_LIB\t- directory containing the libraries\n"
        puts stderr "\t- TRILINOS_INC\t- directory containing the header files\n"

        puts stderr "\t- PATH\n"
        puts stderr "\t- LD_LIBRARY_PATH\n"
}

module-whatis   "sets up the environment for the Trilinos $version (with MPI and MueLu)"

prereq        mpi/openmpi-x86_64
prereq        parmetis/4.0.3
prereq        hdf5/1.12.1-system-mpi

conflict      intel
conflict      trilinos

set           pkghome             /opt/apps/libs/trilinos-$version

setenv        TRILINOS_DIR        $pkghome
setenv        TRILINOS_INC        $pkghome/include
setenv        TRILINOS_LIB        $pkghome/lib
setenv        TRILINOS_BIN        $pkghome/bin


prepend-path  PATH                $pkghome/bin

prepend-path  LD_LIBRARY_PATH     $pkghome/lib
#prepend-path  PYTHONPATH          $pkghome/lib/python2.7/site-packages


unset         pkghome


#source $env(MODULESHOME)/modincludes/info_logging.tcl