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

[+] deal.ii support on Fedora 25

parent 711cfbef
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
#%Module
#
# Deal.II 8.4.1
#
set     version      "8.4.1"

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	dealii
prereq          trilinos/12.4.2-deal84-mpi
prereq		p4est/1.1
prereq		petsc/3.6.4-lite

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

dealii/84_2

0 → 100644
+13 −0
Original line number Diff line number Diff line
#%Module
#
# Deal.II 8.4.1
#
set     version      "8.4.1"

module load mpi/openmpi-x86_64
module load p4est/1.1
module load parmetis/4.0.3
module load petsc/3.6.4-lite
module load trilinos/12.4.2-deal84-mpi
module load hdf5/1.8.17-system-mpi
module load dealii/8.4.1_2-tri-petsc-hdf5-mpi-dbg
+46 −0
Original line number Diff line number Diff line
#%Module
#
# Trilinos 12.4.2 (with MueLu)
#
set     version      "12.4.2"

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-deal84-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