ganga-devs / ganga

Ganga is an easy-to-use frontend for job definition and management
GNU General Public License v3.0
97 stars 159 forks source link

Make GaudiExec use the regular virtualization options #2336

Closed mesmith75 closed 3 months ago

mesmith75 commented 4 months ago

Instead of having to do something different for GaudiExec compared to Executable etc, it would be nice if the user could do the same:

j.virtualization=Apptainer()
j.image = '/path/to/some/image'
egede commented 4 months ago

Have you tried if it works? For running the job I think it should actually be fine already. For operations that happen at the prepare stage, it is tricky as prepare by construction only considers the application object and not the whole job object.

mesmith75 commented 3 months ago

This turns out to be trickier than I had hoped as pointed out by @egede . Closing for now - we can re-open if someone has a brilliant idea.