scr
scr copied to clipboard
fix PMIX handling, query PMIX for remaining time if yogrt is missing
This pull request fixes the existing linkage to PMIX by fixing the name of the FindFOO.cmake file, by finalizing PMIx if we initialize it in scr_env and fixing some other minor issues.
It also querys PMIx for the remaining time using the interface described in https://pmix.github.io/standard/RFC/query-time-remaining-in-allocation of YOGRT is not present.
I don't know of a machine that uses PMIX where i could test this. I can install pmix on my Debian Box (as https://packages.debian.org/bullseye/libpmix-dev et al.) but have no clue how to actually launch an executable with it.