Skip to content

Add `modules`/`tempdir` options to ShifterRunner

Karol Krizka requested to merge kk_shifterupdate into master

The taskfarmer.runners.ShifterRunner runner now takes the following optional arguments:

  • modules: list of modules separated by space
  • tempdir: each task should be run in own temporary directory (True/False)

The module is needed to run with CVMFS mounted.

The tempdir is helpful for running tasks that write temporary files in the current directory (ie: Reco_tf).

Also the environmental variable BASH_ENV is set to blank in the shifter process environment. This prevents any bash scripts from loading the system bash rc files.

Edited by Karol Krizka

Merge request reports