CliMA / slurmci

CI runner which submits CI tests as Slurm batch jobs
2 stars 2 forks source link

Output the hostname #22

Closed kpamnany closed 4 years ago

kpamnany commented 4 years ago

To know the node name when we see ECC errors etc.

simonbyrne commented 4 years ago

Should we print the hostnames of all MPI tasks? e.g. srun -l hostname?

FYI, you can also get the node list afterward from sacct via

sacct --allocations -o nodelist -j $JOBID 
kpamnany commented 4 years ago

Ah! Right now we're running everything in a single node so there will only be one node name I think.

I knew about the sacct way, but it's yet another step.