WIPACrepo / lta

Long Term Archive
MIT License
2 stars 2 forks source link

Updated call to hpss_avail command for Perlmutter #254

Closed blinkdog closed 1 year ago

blinkdog commented 1 year ago

After looking at some SLURM logs, I noticed this:

2023-05-24 09:30:11,133 [MainThread] ERROR (component.py:111) - Error occurred during the nersc_mover work cycle
2023-05-24 09:30:11,133 [MainThread] ERROR (component.py:112) - Error was: '[Errno 2] No such file or directory: '/usr/common/software/bin/hpss_avail''

It seems /usr/common/software/bin/hpss_avail was the command on Cori, but now Perlmutter uses /usr/bin/hpss_avail.py

The LTA components that used this, had the path hard-coded. I've modified that to supply the path as a new environment variable HPSS_AVAIL_PATH which now defaults to /usr/bin/hpss_avail.py