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
Sebastian Ohlmann
elpa
Commits
41896071
Commit
41896071
authored
Jun 14, 2019
by
Andreas Marek
Browse files
Trap error in ci script
parent
39fbe8ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
ci_test_scripts/run_ci_tests.sh
View file @
41896071
...
...
@@ -144,12 +144,13 @@ then
cat
./run_
${
CLUSTER
}
_1node_2GPU.sh
echo
" "
echo
"Submitting to SLURM"
sbatch
-W
./run_
${
CLUSTER
}
_1node_2GPU.sh
exitCode
=
$?
if
sbatch
-W
./run_
${
CLUSTER
}
_1node_2GPU.sh
;
then
exitCode
=
$?
else
exitCode
=
$?
echo
"Submission exited with exitCode
$exitCode
"
fi
echo
" "
echo
"Exit Code of sbatch:
$exitCode
"
echo
" "
#if (( $exitCode > 0 ))
#then
cat
./ELPA_CI_2gpu.err.
*
...
...
@@ -174,8 +175,12 @@ then
cat
./run_
${
CLUSTER
}
_1node.sh
echo
" "
echo
"Submitting to SLURM"
sbatch
-W
./run_
${
CLUSTER
}
_1node.sh
exitCode
=
$?
if
sbatch
-W
./run_
${
CLUSTER
}
_1node.sh
;
then
exitCode
=
$?
else
exitCode
=
$?
echo
"Submission excited with exitCode
$exitCode
"
fi
echo
" "
echo
"Exit Code of sbatch:
$exitCode
"
...
...
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