-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make job_file_dir
a parameter of HTCondorWorkflow
#180
Comments
Hi @EthanMarx , thanks for opening the issue! What do your job file directories look like? Usually, there is a temporary directory that is created per job submission inside that |
Ah! I've been setting that to |
Can I ask about the naming convention for the sub directories? |
It's using the default of |
Thanks. Would it make sense to name these directories based off something like the task name? |
Yes, that would be good! I will change the option to also accept strings that will support a couple template variables like
I should have time to work on this tomorrow. |
Description
Currently, the
job_file_dir
is set from thelaw
config. I have a use case where multipleHTCondorWorkflows
may be running simultaneously, in which case I noticed that job files were being overwritten by one another.The workaround I found was to hack in to the
htcondor_create_job_file_factory
hook:So that I can set the
job_file_dir
in a task dependent way.This solution works fine, but this seems like a common enough use case that it should be more obvious how / where this can be set. I propose making this a parameter of the HTCondorWorkflow that can default to reading from the config if left unset.
Can put together a PR if this is something that is desirable.
The text was updated successfully, but these errors were encountered: