Make environment variables available in job without setting them in submit environment
I need a variable set in my job scripts that doesn't need to be set in my job's submit environment. Setting it in the submission environment seems overkill, and is fiddly to do tidily in the minerva job submission scripts.
Would it be possible to add some feature that would let me just specify an environment variable and its value in the jobsub submit line? I'm thinking of something like "jobsub_submit -e FOO=bar ...". (I looked at the code, and it seems like this is meant to work, but when I try it with v1_1_0_1, I get:
you used -e IFDH_FORCE=expftp , but $IFDH_FORCE=expftp must be set first for this to work!