Skip to content
Snippets Groups Projects
Commit e70abde4 authored by Alexander van Amesfoort's avatar Alexander van Amesfoort
Browse files

Task #9939: add DRAGNET to cobalt_functions.sh. This is not exactly what we...

Task #9939: add DRAGNET to cobalt_functions.sh. This is not exactly what we want, but let's try this first.
parent 5f57e7bd
No related branches found
No related tags found
No related merge requests found
......@@ -67,6 +67,21 @@ function read_cluster_model {
OUTPUTPROC_ROOT="`echo '/opt/outputproc-${LOFAR_TAG}' | docker-template`"
;;
DRAGNET)
HEADNODE=dragnet.control.lofar
COMPUTENODES="`ssh $HEADNODE sinfo --responding --states=idle,mixed,alloc --format=%n.control.lofar,%T --noheader --partition=lofarobs --sort=N | fgrep -v ,draining | cut -f1 -d,`"
if [ -z "$COMPUTENODES" ]; then
echo "ERROR: Could not obtain list of available DRAGNET nodes. Defaulting to drg01 - drg20 .control.lofar"
COMPUTENODES="`seq -f "drg%02.0f.control.lofar" 1 20`"
fi
#SLURM=true
SLURM=false
GLOBALFS=false
DOCKER=false
OUTPUTPROC_ROOT="/opt/lofar"
;;
*)
HEADNODE=lhn001.cep2.lofar
COMPUTENODES="`seq -f "locus%02.0f" 1 94`"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment