Skip to content

Commit

Permalink
Update deephyper node list util (ORNL#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
jychoi-hpc authored and RylieWeaver committed Sep 25, 2024
1 parent e3475fd commit 5c8f5e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hydragnn/utils/deephyper.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ def master_from_host(host):

def read_node_list():
node_list = os.environ["SLURM_NODELIST"]
if not "[" in node_list:
return [
node_list,
], node_list
nodes = []
system = os.getenv("HYDRAGNN_SYSTEM", "frontier")
if system == "frontier":
Expand Down

0 comments on commit 5c8f5e5

Please sign in to comment.