Commit 845621c0 authored by Michael Ott's avatar Michael Ott
Browse files

Cosmetic fixes and more verbosity

parent 4b876ed5
...@@ -373,6 +373,8 @@ int main(int argc, char** argv) { ...@@ -373,6 +373,8 @@ int main(int argc, char** argv) {
if (slurmNodename != nl.front()) { if (slurmNodename != nl.front()) {
std::cout << "Running in slurmd context but not the first node in nodelist. Exiting." << std::endl; std::cout << "Running in slurmd context but not the first node in nodelist. Exiting." << std::endl;
return 0; return 0;
} else {
std::cout << "Running in slurmd context and are first in nodelist." << std::endl;
} }
} }
...@@ -486,6 +488,8 @@ int main(int argc, char** argv) { ...@@ -486,6 +488,8 @@ int main(int argc, char** argv) {
// Otherwise we have populated nl above already. // Otherwise we have populated nl above already.
if(nodelist.size() > 0) { if(nodelist.size() > 0) {
splitNodeList(nodelist, nl); splitNodeList(nodelist, nl);
} else {
nodelist = slurmNodelist;
} }
convertNodeList(nl, substitution); convertNodeList(nl, substitution);
// Getting the whole pack's node list, if necessary // Getting the whole pack's node list, if necessary
......
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