Scheduled maintenance on Monday 2019-06-24 between 10:00-11:00 CEST

Add a new GPU runner

parent 65273b9a
This diff is collapsed.
This diff is collapsed.
......@@ -96,11 +96,44 @@ while getopts "c:t:j:m:n:b:o:s:q:i:S:h" opt; do
esac
done
if [ $skipStep -eq 1 ]
then
echo "Skipping the test since option -s has been specified"
exit 0
fi
if [ "$slurmBatch" == "yes" ]
then
CLUSTER=""
if [[ "$HOST" =~ "cobra" ]]
then
CLUSTER="cobra"
fi
if [ "$CLUSTER" == "cobra" ]
then
echo "Running on cobra with runner $CI_RUNNER_DESCRIPTION with tag $CI_RUNNER_TAGS"
if [ "$CI_RUNNER_TAGS" == "gpu" ]
then
cp $HOME/runners/job_script_templates/run_COBRA_1node_2GPU.sh .
echo "./configure " "$configureArgs" >> ./run_COBRA_1node_2GPU.sh
echo " " >> ./run_COBRA_1node_2GPU.sh
echo "make -j 16" >> ./run_COBRA_1node_2GPU.sh
echo " " >> ./run_COBRA_1node_2GPU.sh
echo "export OMP_NUM_THREADS=$ompThreads" >> ./run_COBRA_1node_2GPU.sh
echo "export TASKS=$mpiTasks" >> ./run_COBRA_1node_2GPU.sh
echo "make check TEST_FLAGS=\" $matrixSize $nrEV $blockSize \" " >> ./run_COBRA_1node_2GPU.sh
sbatch -W ./run_COBRA_1node_2GPU.sh
cat ./ELPA_CI_2gpu.out.*
cat ./ELPA_CI_2gpu.err.*
fi
exit 0
fi
fi
# not skipped then proceed
if [ "$slurmBatch" == "no" ]
......@@ -111,6 +144,7 @@ then
# - draco
# - buildtest
# - virtual machine runners
# hopefully this can be removed soon
echo "Using old CI logic for appdev"
if [ "$batchCommand" == "srun" ]
then
......
Markdown is supported
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