Commit 7e00b306 authored by Ondrej Vysocky's avatar Ondrej Vysocky
Browse files

compilation for ptf and rdd

parent 634d9f46
......@@ -6,4 +6,5 @@ OpenFOAM-v1612+/wmake/rules/linux64Icc/c++
lnInclude/
foammodules.sh
meric/*
slurm-*
!meric/wscript
#!/bin/bash
#SBATCH -t 0-02:00
#SBATCH --nodes=1
#SBATCH --tasks-per-node=1
#SBATCH --cpus-per-task=24
#SBATCH -A p_readex
#SBATCH --mem=62000
# interactive
# srun -N 1 --tasks-per-node=1 --cpus-per-task=24 --time 2:00:00 -p interactive --exclusive --x11 --pty bash
################################################################################
# SET PATH TO MODULES
ENV_SET_FILE=$(pwd)/FOAMMODULES-ScorepGCC-manual-Taurus.sh
################################################################################
echo "source $ENV_SET_FILE" > foammodules.sh
source $ENV_SET_FILE
# cd
#foam
cd $(pwd)/OpenFOAM-v1612+
depth=1
# compile
if [ $depth -eq 1 ]
then
./Allwmake
elif [ $depth -eq 2 ]
then
cd src
./Allwmake
cd ..
. dirSimple
wclean
wmake
fi
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment