Open vsoch opened 19 hours ago
There are simpler ways to get much of this information:
To get the current broker's rank
$ flux getattr rank
Get the total number of brokers:
$ flux getattr size
Get the hostlist for a job:
$ flux hostlist JOBID
(Note that flux job info $FLUX_JOB_ID R | jq -r .execution.nodelist[0]
could actually return incorrect information since there may be more than one entry in the execution.nodelist
array)
To add eventually