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

Re: [HTCondor-users] Singularity containers setting --pwd option to scratch dir



Hi Greg,

The file transfer parameters were set correctly. It looks like the SINGULARITY_TARGET_DIR needed to be set to /srv--but why is /srv the convention for setting the working directory? Is this a singularity convention or a condor thing? If so, would it be worth setting this as a default?

Thanks,
Mary


On 08/02/2022 19:40, Greg Thain wrote:
On 2/8/22 10:25, Mary Hester wrote:
Hello,

We have some users running singularity containers on a condor cluster (running 8.8.15) and most things seem to work except for setting the directory running the job (--pwd) to the scratch dir (or TMPDIR). The default is for job to run in the user's home directory. Looking at https://htcondor.readthedocs.io/en/latest/admin-manual/singularity-support.html, how can this be changed?


Mary:

I think this can happen when file transfer is off. If you force file transfer on with

should_transfer_files = yes

when_to_transfer_output = on_exit

Do you get the corrrect directory?


-greg

_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/