Question about host connection.yml

Hello,

I have a simple app which allows submit a job to Slurm. After job starts running I see that I can ssh to the host where it’s running. However if I have infiniband connection on that host the hostname is created with ib in the hostname. For example instead of hpc-sky-01 it’s hpc-sky-01-ib. Of course I cannot ssh to this bogus hostname.

My question is how this hostname is being picked up in connection.yml and how I can fix it to be an actual hostname:

host: hpc-sky-01-ib
port:
password:

Thank you

The hostname is set through this configuration set_host. Seems you need to modify the hostname command to get the FQDN.

https://osc.github.io/ood-documentation/latest/reference/files/submit-yml/basic-bc-options.html?highlight=set_host

Perfect, thank you

This command worked for me: hostname -A | awk ‘{print $2}’