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

[*] petsc 3.6.3 fixes

[*] hdf5 cleanup
[+] hdf5/1.8.16
parent 6b13ad12
Loading
Loading
Loading
Loading
+48 −0
Original line number Diff line number Diff line
#%Module
#
# Deal.II 8.2.2
#
set     version      "8.2.2"

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-deal-mpi
prereq		p4est/1.1
prereq		petsc/3.6.3-lite

set                     pkghome        		/opt/apps/dealii/8.2.2-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

hdf5/1.8.16-parallel

0 → 100644
+44 −0
Original line number Diff line number Diff line
#%Module
#
# HDF5 with GCC 5.3.1 compiler (MPI?)
#

proc ModulesHelp { } {
        puts stderr "\tSets up the environment variables for system HDF5 ( GCC 5.1.1, NO MPI )\n"
        puts stderr "\t- HDF5_BASE"
        puts stderr "\t- HDF5_LIBDIR"
        puts stderr "\t- HDF5_LIB"
        puts stderr "\t- HDF5_INCDIR"
        puts stderr "\t- HDF5_INC"
        puts stderr "\t- HDF5_F90_LIB"
        puts stderr "\t- HDF5_CPP_LIB (if available)"
        puts stderr "\t- LD_LIBRARY_PATH"
        puts stderr "\t- PATH\n"
}

module-whatis   "sets up the environment variables for system HDF5 ( GCC 5.1.1, NO MPI )\n"

set          	pkghome		/opt/apps/libs/hdf5-1.8.16-parallel
set		pkglibdir	/opt/apps/libs/hdf5-1.8.16-parallel/lib

prereq		mpi/openmpi-x86_64
conflict        hdf5

setenv  HDF5_BASE       $pkghome
setenv  HDF5_LIBDIR     $pkglibdir
setenv  HDF5_LIB        "-L$pkglibdir -lhdf5_hl -lhdf5"
setenv  HDF5_INCDIR     $pkghome/include
setenv  HDF5_INC        "-I$pkghome/include"
setenv  HDF5_F90_LIB    "-L$pkglibdir -lhdf5hl_fortran -lhdf5_fortran"
if { [ file exists $pkglibdir/libhdf5_cpp.so ] } {
  setenv       HDF5_CPP_LIB      "-L$pkglibdir -lhdf5_hl_cpp -lhdf5_cpp"
}

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

unset        	pkghome
unset		pkglibdir

#set MSG ""
#source $env(MODULESHOME)/modincludes/info_logging.tcl
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
# Petsc 3.6.3 (System gcc-5.3)
#

set	version		3.4.4
set	version		3.6.3
proc ModulesHelp { } {
	global version
        puts stderr "\tThis module sets the path and environment variables for petsc-$version (System gcc-5.1, System python-2.7)\n"