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

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
Information Technology
Digital Transformation & Innovation
Integrated Defense Systems
Raytheon Company

From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Paul Hopkins
Sent: Tuesday, October 9, 2018 4:31 AM
To: htcondor-users@xxxxxxxxxxx
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.

queue 1

Though there is probably a better of writing this configuration.