RTE SINGULARITY: Add a new parameter BINARY_PATH to redefine singularity location
Begin arcbot message
This merge request is automatically copied from GitHub master pull request https://github.com/nordugrid/arc/pull/12 orginally made by @aldbr
End arcbot message
Currently, the singularity executable path is hard coded as /usr/bin/singularity
.
Nevertheless, in some cases (on supercomputers for instance), the singularity executable can be defined in other locations.
This PR aims to add a new parameter to the Singularity RTE: BINARY_PATH
, that would redefine the binary path when needed. The default, of course, would remain /usr/bin/singularity
.
The parameter could be redefined either via the submission parameter, or via an environment variable.
Edited by Maiken