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

COB-4: Expand avoidCores and gpu specifications if provided in short-hand notation in the parset.

parent 3279ccae
No related branches found
No related tags found
1 merge request!6Import cobalt2 into lofar4
......@@ -504,9 +504,9 @@ namespace LOFAR
node.hostName = getString(prefix + "host", "localhost");
node.cpu = getInt(prefix + "cpu", -1);
node.avoidCores = getUint32Vector(prefix + "avoidCores", emptyVectorUnsigned);
node.avoidCores = getUint32Vector(prefix + "avoidCores", emptyVectorUnsigned, true);
node.mpi_nic = getString(prefix + "mpi_nic", "");
node.gpus = getUint32Vector(prefix + "gpus", vector<unsigned>(1,0)); // default to [0]
node.gpus = getUint32Vector(prefix + "gpus", vector<unsigned>(1,0), true); // default to [0]
// format: [CEP4:ib0,DragNet:ib0]
node.out_nic = "";
......
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