[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Submit-specified Singularity bind paths?
- Date: Tue, 09 Oct 2018 20:30:02 +0000
- From: Michael Pelletier <Michael.V.Pelletier@xxxxxxxxxxxx>
- Subject: Re: [HTCondor-users] Submit-specified Singularity bind paths?
Wow, thatâs a great idea! Thanks!
I need to remind myself to remember what you can do with an expression, like Brian Bockelman's RequestCpus expression for dynamic job sizing.
This can also select different lists of bind mounts for different types of containers with a regexp against SingularityImage, or adjust the list based on which machine the job lands on, etc.
Michael V. Pelletier
Digital Transformation & Innovation
Integrated Defense Systems
From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Paul Hopkins
Sent: Tuesday, October 9, 2018 4:31 AM
Subject: [External] Re: [HTCondor-users] Submit-specified Singularity bind paths?
This seems to work for additional user specified bind paths:
SINGULARITY_BIND_EXPR = ifThenElse(isUndefined(TARGET.SingularityBind), \
Â Â Â Â Â Â Â Â Â Â Â $(SINGULARITY_BIND_BASE), \
Â Â Â Â Â Â Â Â Â Â Â join(",", $(SINGULARITY_BIND_BASE), TARGET.SingularityBind))
where the submit file adds an optional new attribute SingularityBind e.g.
Though there is probably a better of writing this configuration.