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

added new trilinos 12.18.1

parent 4ab8cd80
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
#%Module
#
# Trilinos 12.18.1 (with MPI and Lua)
#
set     version      "12.18.1"

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
conflict      intel
conflict      oofem
conflict      trilinos

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

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