-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
To add eventually
# What is my rank?
flux overlay lookup $(hostname)
0
# Count the nodes (including control plane)
count=$(flux hostlist --count local)
worker_count=$(flux hostlist -x $(hostname) --count local)
echo "Found ${count} total nodes, and ${worker_count} not including the control plane"
nodes=$(flux job info $FLUX_JOB_ID R | jq -r .execution.nodelist[0])
echo "Found nodes ${nodes} in Job ${FLUX_JOB_ID}"
flux kvs put ${kvs_path}.usernetes=yes
flux kvs put ${kvs_path}.usernetes_root=${usernetes_root}
usernetes_root=$(flux kvs get ${kvs_path}.usernetes_root)
Metadata
Metadata
Assignees
Labels
No labels