I am working on power logging of a GPU cluster I am working with.I am running jobs on multiple hosts.
I wanst to create a file , one for each host, which has a unique filename containing the host name.
Something like
clush -w $SLURM_JOB_NODELIST "touch file$(hostname)"
My foo is weak today. Help me Ole Wan Neilsen or any $Jedi