Pass variables to runtime env
From https://mattermost.web.cern.ch/lhcb/pl/4eetxngywpr57q44mqa3zfrtbr
Hi, some weeks ago I was able to pass a variable from makefile/snakemake to a Gaudi environment using
./run --set=DECAY=something gaudirun.pybecause of xenv. Now I see that the environment is set up differently and this can no longer be done. Is there something equivalent you know of? If not I'll just define 1-line python files to do the job
how does vanilla
./run DECAY=something gaudirun.pybehave? actually not sure if that should work🤔 maybe even DECAY=something ./run gaudirun.py
One can use forwardEnv with the latter, but it might be easier to implement the former.
Another way is to do ./run env DECAY=decay gaudirun.py