[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Conda env with workstation pool



On 7/24/2020 9:15 AM, Josh Karpel via HTCondor-users wrote:... > In my experience, the easiest way to avoid using a wrapper script with> Python programs that need custom environments is, unfortunately, to use a> container... which is really just a giant implicit wrapper script :) You really want to wrap the whole thing in a shell to make sure there's place for all those envvars to begin with: "environments" are pretty much just a bunch of environment variables, and depending on how exactly fork/exec'ing is done, those may or may not propagate.

+3: save yourself some headaches and put in a singularity container.

Dima