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
nek5000
giraffe
Commits
75c26a1f
Commit
75c26a1f
authored
Oct 19, 2016
by
Ron Rahaman
Browse files
Added -j option to build_coupled_nek.sh
parent
b1c17da8
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/template_example/build_coupled_nek.sh
View file @
75c26a1f
#k!/usr/bin/env bash
NEK_CASENAME
=
"
$(
basename
$(
pwd
))
"
NEK_SOURCE_DIR
=
"
$(
dirname
$(
dirname
$(
pwd
)))
/Nek5000"
JOBS
=
4
while
getopts
":j:"
opt
;
do
case
$opt
in
j
)
JOBS
=
$OPTARG
;;
esac
done
# MOOSE issues a warning if these directories do not exist.
# Creating these dirs will suppress that warning
mkdir
-p
src
...
...
@@ -20,7 +28,7 @@ echo "Building Nek5000 objects..."
$NEK_SOURCE_DIR
/core/makenek
$NEK_CASENAME
$NEK_SOURCE_DIR
echo
"Building libNek5000.a..."
make
-f
makefile.nek lib
make
-j
$JOBS
-f
makefile.nek lib
echo
"Building MOON driver..."
make
make
-j
$JOBS
Write
Preview
Markdown
is supported
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