Skip to content

Commit

Permalink
omicron-process: pass PATH to omicron-merge-with-gaps
Browse files Browse the repository at this point in the history
so that it can find the executables it needs
  • Loading branch information
duncanmmacleod committed Sep 1, 2023
1 parent 45f6d38 commit 1bc19c8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion omicron/cli/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,13 @@ def main(args=None):

ppjob.add_condor_cmd('periodic_remove', '(JobStatus == 1) && MemoryUsage >= 7G')

ppjob.add_condor_cmd('environment', '"HDF5_USE_FILE_LOCKING=FALSE"')
ppjob.add_condor_cmd('environment', "\"{}\"".format(" ".join((
# disable file locking over NFS
"HDF5_USE_FILE_LOCKING=FALSE",
# provide the PATH so that omicron-merge-with-gaps can find the
# executables it needs
f"PATH='{os.getenv('PATH', sys.prefix)}'",
))))
ppjob.add_short_opt('e', '')
ppnodes = []
prog_path = dict()
Expand Down

0 comments on commit 1bc19c8

Please sign in to comment.