Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ondrej Vysocky
OpenFOAM-MERIC
Commits
7e00b306
Commit
7e00b306
authored
Oct 05, 2017
by
Ondrej Vysocky
Browse files
compilation for ptf and rdd
parent
634d9f46
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
7e00b306
...
...
@@ -6,4 +6,5 @@ OpenFOAM-v1612+/wmake/rules/linux64Icc/c++
lnInclude/
foammodules.sh
meric/*
slurm-*
!meric/wscript
compile_for_rdd.sh
0 → 100644
View file @
7e00b306
#!/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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment