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

new petsc library version 3.7.6

parent c6ae2237
Loading
Loading
Loading
Loading

petsc/3.7.6-lite

0 → 100644
+44 −0
Original line number Diff line number Diff line
#%Module
#
# Petsc 3.7.6 (System gcc-6.3.1)
#

set	version		3.7.6
proc ModulesHelp { } {
	global version
        puts stderr "\tThis module sets the path and environment variables for petsc-$version (System gcc-6.3.1, System python-2.7)\n"
        puts stderr "\t- PATH"
        puts stderr "\t- PETSC_BASE"
        puts stderr "\t- PETSC_ARCH="
        puts stderr "\t- PETSC_LIB"
        puts stderr "\t- PETSC_INCLUDEDIR"
        puts stderr "\t- PETSC_LIBRARYDIR"
        puts stderr "\t- LD_LIBRARY_PATH\n"
        puts stderr "\t- PATH\n"
}

module-whatis   "PETSc - Portable, Extensible Toolkit for Scientific Computation petsc-$version (System gcc-6.3.1, System python-2.7)"

conflict	petsc
prereq	 	mpi/openmpi-x86_64
prereq		parmetis/4.0.3

set             pkghome          /opt/apps/libs/petsc-$version-lite

setenv		PETSC_DIR        $pkghome
setenv		PETSC_BASE       $pkghome
setenv		PETSC_INCLUDEDIR "-I$pkghome/include"
setenv		PETSc_LIBRARYDIR "-L$pkghome/lib"
setenv		PETSC_INCDIR     $pkghome/include
setenv		PETSC_LIBDIR     $pkghome/lib
setenv		PETSC_ARCH	""

setenv		PETSC_VERSION	$version

prepend-path LD_LIBRARY_PATH  $pkghome/lib
prepend-path PATH             $pkghome/bin

unset        pkghome

set MSG "petsc-$version (System gcc-6.3.1, System python-2.7)"
#source $env(MODULESHOME)/modincludes/info_logging.tcl