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

[*] cleanup

[+] petsc 3.6.4 added for deal 4.2
parent 7d4d37c8
Loading
Loading
Loading
Loading
+0 −48
Original line number Diff line number Diff line
#%Module
#
# Deal.II 8.4.dev
#
set     version      "8.4.dev"

proc ModulesHelp { } {
        global version
        puts stderr "\tSets up the environment for the Debug version of Deal.II ($version) including the Trilinos solver.\n"
        puts stderr "\t- DEAL_II_DIR\t- the Deal.II directory\n"
        puts stderr "\t- DEAL_II_BIN\t- directory where executables can be found\n"
        puts stderr "\t- DEAL_II_LIB\t- directory containing the libraries\n"
        puts stderr "\t- DEAL_II_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 Debug version of Deal.II $version"

prereq          mpi/openmpi-x86_64
conflict        intel
conflict        oofem
conflict	dealii
prereq          trilinos/11.14.3-deal83-mpi
prereq		p4est/1.1
prereq		petsc/3.6.3-lite

set                     pkghome        		/opt/apps/dealii/8.4.dev-tri-petsc-hdf5-mpi-dbg


setenv                  DEAL_II_DIR      	$pkghome
setenv                  DEAL_II_INC     	$pkghome/include
setenv                  DEAL_II_LIB     	$pkghome/lib
setenv                  DEAL_II_BIN     	$pkghome/bin
setenv			DEAL_II_VERSION		$version

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
+4 −3
Original line number Diff line number Diff line
@@ -9,11 +9,13 @@ conflict mpi
# Define prefix so PATH and MANPATH can be updated.
setenv        MPI_BIN       /usr/lib64/mpich/bin
setenv        MPI_SYSCONFIG /etc/mpich-x86_64
setenv        MPI_FORTRAN_MOD_DIR /usr/include/mpich-x86_64
setenv        MPI_FORTRAN_MOD_DIR /usr/lib64/gfortran/modules/mpich
setenv        MPI_INCLUDE   /usr/include/mpich-x86_64
setenv        MPI_LIB       /usr/lib64/mpich/lib
setenv        MPI_MAN       /usr/share/man/mpich-x86_64
setenv        MPI_PYTHON_SITEARCH	/usr/lib64/python2.7/site-packages/mpich
setenv        MPI_PYTHON2_SITEARCH	/usr/lib64/python2.7/site-packages/mpich
setenv        MPI_PYTHON3_SITEARCH	/usr/lib64/python3.5/site-packages/mpich
setenv        MPI_COMPILER  mpich-x86_64
setenv        MPI_SUFFIX    _mpich
setenv        MPI_HOME      /usr/lib64/mpich
@@ -21,4 +23,3 @@ prepend-path PATH /usr/lib64/mpich/bin
prepend-path  LD_LIBRARY_PATH /usr/lib64/mpich/lib
prepend-path  MANPATH       /usr/share/man/mpich-x86_64
prepend-path  PKG_CONFIG_PATH /usr/lib64/mpich/lib/pkgconfig
prepend-path  PYTHONPATH    /usr/lib64/python2.7/site-packages/mpich
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ setenv MPI_LIB /usr/lib64/openmpi/lib
setenv			MPI_MAN		/usr/share/man/openmpi-x86_64
setenv			MPI_PYTHON_SITEARCH	/usr/lib64/python2.7/site-packages/openmpi
setenv			MPI_PYTHON2_SITEARCH	/usr/lib64/python2.7/site-packages/openmpi
setenv			MPI_PYTHON3_SITEARCH	/usr/lib64/python3.4/site-packages/openmpi
setenv			MPI_PYTHON3_SITEARCH	/usr/lib64/python3.5/site-packages/openmpi
setenv			MPI_COMPILER	openmpi-x86_64
setenv			MPI_SUFFIX	_openmpi
setenv	 		MPI_HOME	/usr/lib64/openmpi
+4 −4
Original line number Diff line number Diff line
#%Module
#
# P4est  (System gcc-5.1)
# P4est  (System gcc-6.1.1)
#

set	version		1.1

proc ModulesHelp { } {
	global version
        puts stderr "\tSets up the environment for P4EST $version (System gcc-5.1)\n"
        puts stderr "\tSets up the environment for P4EST $version (System gcc-6.1.1)\n"
        puts stderr "\t- P4EST_VERSION"
        puts stderr "\t- P4EST_ROOT"
				puts stderr "\t- P4EST_BASE"
@@ -23,7 +23,7 @@ module-whatis "sets up the environment for P4EST $version (System gcc-5.1)"

conflict	p4est

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

setenv		P4EST_ROOT					$pkghome
setenv		P4EST_BASE					$pkghome/FAST
@@ -40,5 +40,5 @@ prepend-path PATH $pkghome/FAST/bin

unset        pkghome

set MSG "P4EST $version (System gcc-5.1)"
set MSG "P4EST $version (System gcc-6.1.1)"
#source $env(MODULESHOME)/modincludes/info_logging.tcl
+4 −4
Original line number Diff line number Diff line
#%Module
#
# P4est  (System gcc-5.1)
# P4est  (System gcc-6.1.1)
#

set	version		1.1
@@ -19,11 +19,11 @@ proc ModulesHelp { } {
        puts stderr "\t- LD_RUN_PATH\n"
}

module-whatis   "sets up the environment for P4EST $version (System gcc-5.1)"
module-whatis   "sets up the environment for P4EST $version (System gcc-6.1.1)"

conflict	p4est

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

setenv		P4EST_ROOT					$pkghome
setenv		P4EST_BASE					$pkghome/FAST
@@ -40,5 +40,5 @@ prepend-path PATH $pkghome/DEBUG/bin

unset        pkghome

set MSG "P4EST $version DEBUG (System gcc-5.1)"
set MSG "P4EST $version DEBUG (System gcc-6.1.1)"
#source $env(MODULESHOME)/modincludes/info_logging.tcl
Loading