Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_vcluster
Commits
7e15c151
Commit
7e15c151
authored
May 20, 2015
by
incardon
Browse files
Fixing jenkins script
parent
0bc5278e
Changes
1
Hide whitespace changes
Inline
Side-by-side
build_vcluster.sh
View file @
7e15c151
...
...
@@ -23,16 +23,6 @@ then
module load openmpi/1.8.1
fi
#if [ $2 == "wetcluster" ]
#then
# bsub -K -n 2 mpirun -np 2 ./src/vcluster
# if [ "$?" = "0" ]; then exit 1 ; fi
#else
# echo "VCLUSTER\n"
# mpirun -np 2 ./src/vcluster
# mpirun -np 4 ./src/vcluster
#fi
if
[
"
$2
"
==
"wetcluster"
]
then
echo
"Compiling on wetcluster"
...
...
@@ -57,7 +47,11 @@ exit(0)\n"
bsub
-o
output_compile.%J
-K
-n
1
-J
compile sh ./compile_script
## Run on the cluster
bsub
-o
output_run.%J
-K
-n
2
"module load openmpi/1.8.1 ; module load gcc/4.9.2; mpirun -np 2 ./src/vcluster"
bsub
-o
output_run2.%J
-K
-n
2
"module load openmpi/1.8.1 ; module load gcc/4.9.2; mpirun -np 2 ./src/vcluster"
if
[
\"\$
?
\"
!=
"0"
]
;
then
exit
1
;
fi
bsub
-o
output_run4.%J
-K
-n
4
"module load openmpi/1.8.1 ; module load gcc/4.9.2; mpirun -np 4 ./src/vcluster"
if
[
\"\$
?
\"
!=
"0"
]
;
then
exit
1
;
fi
bsub
-o
output_run8.%J
-K
-n
8
"module load openmpi/1.8.1 ; module load gcc/4.9.2; mpirun -np 8 ./src/vcluster"
fi
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