You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Parse our hostname so we can only select jobs from THIS host
# Otherwise, if we're on a multiple-clusters-same-home setup,
# we may incorrectly update jobs from one cluster onto the other
This is using socket.gethostname() to create a hostname, which then is used in a regex to select which jobs to update. This doesn't work on all systems. Thoughts @tallakahath?
My first thought is to check for a CASM_PBS_JOB_UPDATE environment variable, which if either unset or set to "DEFAULT" (upper or lowercase) will not check for hostname, or if set to "CHECK_HOSTNAME" will select by hostname. I don't plan it now, but we could extend this to enable full customization with something like: "CUSTOM MODULE FUNCTION" in which case the specified module & function would be loaded and used.
The text was updated successfully, but these errors were encountered:
From
jobdb.py
:This is using
socket.gethostname()
to create a hostname, which then is used in a regex to select which jobs to update. This doesn't work on all systems. Thoughts @tallakahath?My first thought is to check for a
CASM_PBS_JOB_UPDATE
environment variable, which if either unset or set to"DEFAULT"
(upper or lowercase) will not check for hostname, or if set to"CHECK_HOSTNAME"
will select by hostname. I don't plan it now, but we could extend this to enable full customization with something like:"CUSTOM MODULE FUNCTION"
in which case the specified module & function would be loaded and used.The text was updated successfully, but these errors were encountered: