https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: defca8379dcc62d303ccfe4f571bb40de2c30f9f authored by wenqing on 24 May 2023, 08:11:57 UTC
Merge branch 'cal_volume' into 'master'
Tip revision: defca83
petsc.sh
if [ -n "$ZSH_VERSION" ]; then
    DIR=$( cd $(dirname "${(%):-%x}") ; pwd -P )
else
    DIR=$( cd $(dirname "${BASH_SOURCE[0]}") ; pwd -P )
fi

source $DIR/cli.sh
source $DIR/user.sh

module load HDF5/1.12.1
module load Python/3.9.6
module load Boost/1.77

# VTK will be built by CPM, because no VTK build with GCCCore/11.2.0 in foss/2021b available

# PETSC needs custom build!
PETSC_VERSION=v3.16.4
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ALL_PETSC_DIR/$PARTITION_NAME/lib
PETSC_DIR=$ALL_PETSC_DIR/$PARTITION_NAME/petsc_$PETSC_VERSION
back to top