Commit 4ab885e8 authored by Christof Schulze's avatar Christof Schulze 😎 Committed by cschulze
Browse files

new triilinos library version 12.10.1

parent f11aeaa9
Loading
Loading
Loading
Loading
+46 −0
Original line number Diff line number Diff line
#%Module
#
# Trilinos 12.10.1 (with MPI and Lua)
#
set     version      "12.10.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