Closed falkamelung closed 3 years ago
There's a gross way to do this without having a conditional statement. I can scan through the table headers and figure out which column is for the number of jobs (identified by the presence of 'Job' in the header) and then keep the existing logic. I can look into doing this tomorrow.
Are their plans to use this script beyond TACC systems? If so, we cant use qlimits
because that some native TACC system tool that doesn't exist on external systems.
We are only at TACC for now. Need a different solution for other systems.
On frontera
does not work as the qlimits call is different. My understanding is that MaxJobsPU is the correct field (100 for flex)
We might have to check for platform as we do in
platform_defaults.bash
: if [[ ${HOSTNAME} == frontera ]] || [[ ${TACC_SYSTEM} == frontera ]]