aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-11-19 12:11:35 -0600
committertlatorre <tlatorre@uchicago.edu>2019-11-19 12:11:35 -0600
commit68040652eaa92774a168f559d6b45a28b30a9275 (patch)
tree1e756144e46a5075605f9db2f41a73056d180884 /utils
parente8921bc1865c6a03900408c0ef823fb2f5c9138c (diff)
downloadsddm-68040652eaa92774a168f559d6b45a28b30a9275.tar.gz
sddm-68040652eaa92774a168f559d6b45a28b30a9275.tar.bz2
sddm-68040652eaa92774a168f559d6b45a28b30a9275.zip
update submit-grid-jobs to hopefully only run jobs on nodes which have modules
I noticed that many of my jobs were failing with the following error: module: command not found My submit description files *should* only be selecting nodes with modules because of this line: requirements = (HAS_MODULES =?= true) && (OSGVO_OS_STRING == "RHEL 7") && (OpSys == "LINUX") which I think I got from https://support.opensciencegrid.org/support/solutions/articles/12000048518-accessing-software-using-distributed-environment-modules. I looked up what the =?= operator does and it's a case sensitive search. I also found another site (https://support.opensciencegrid.org/support/solutions/articles/5000633467-steer-your-jobs-with-htcondor-job-requirements) which uses the normal == operator. Therefore, I'm going to switch to the == operator and hope that fixes the issue.
Diffstat (limited to 'utils')
-rwxr-xr-xutils/submit-grid-jobs2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/submit-grid-jobs b/utils/submit-grid-jobs
index 1fa015b..469fb0c 100755
--- a/utils/submit-grid-jobs
+++ b/utils/submit-grid-jobs
@@ -119,7 +119,7 @@ log = @log
# The below are good base requirements for first testing jobs on OSG,
# if you don't have a good idea of memory and disk usage.
-requirements = (HAS_MODULES =?= true) && (OSGVO_OS_STRING == "RHEL 7") && (OpSys == "LINUX")
+requirements = (HAS_MODULES == True) && (OSGVO_OS_STRING == "RHEL 7") && (OpSys == "LINUX")
request_cpus = 1
request_memory = 1 GB
request_disk = 1 GB