Skip to content
Snippets Groups Projects
Commit 44ec8ebf authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #10118: Bugfix for dragnet scheduling (bug was reintroduced)

parent 0cc5f074
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ function read_cluster_model {
SLURM_PARTITION=lofarobs # NOTE: sinfo (without -a) only displays this partition for members of the lofarsys group (+ slurm,root)
COMPUTENODES="`ssh $HEADNODE sinfo --responding --states=idle,mixed,alloc --format=%n-ib.dragnet.infiniband.lofar,%T --noheader --partition=$SLURM_PARTITION --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 -ib.dragnet.infiniband.lofar"
echo "ERROR: Could not obtain list of available DRAGNET nodes. Defaulting to drg01 - drg23 -ib.dragnet.infiniband.lofar"
COMPUTENODES="`seq -f "drg%02.0f-ib.dragnet.infiniband.lofar" 1 23`"
fi
COMPUTENODES=$(echo $COMPUTENODES | sed -e s/dragproc-ib.dragnet.infiniband.lofar/dragproc-10g.online.lofar/g) # dragproc has no infiniband i/f, so use 10g
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment