Commit 66f02c31 authored by Christof Schulze's avatar Christof Schulze 😎 Committed by cschulze
Browse files

[+] pytrilinos 12.4.2

parent 54512e14
Loading
Loading
Loading
Loading
+46 −0
Original line number Diff line number Diff line
#%Module
#
# Trilinos 12.4.2
#
set     version      "12.4.2"

proc ModulesHelp { } {
	global version
        puts stderr "\tSets up the environment for the Trilinos ($version) including PyTrilinos and 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- PYTHONPATH\n"
        puts stderr "\t- LD_LIBRARY_PATH\n"
        puts stderr "\t- LD_RUN_PATH\n"

        puts stderr "Use in Python by importing PyTrilinos."
}

module-whatis   "sets up the environment for the Trilinos $version" with MPI and PyTrilinos

prereq		mpi/openmpi-x86_64
conflict	intel
conflict	trilinos

set			pkghome			/opt/apps/trilinos/$version-python-base-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