Skip to content
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

caslake partition in batchq.submitjob utility #74

Closed
cecilia-ferrari opened this issue Oct 10, 2023 · 1 comment
Closed

caslake partition in batchq.submitjob utility #74

cecilia-ferrari opened this issue Oct 10, 2023 · 1 comment
Assignees

Comments

@cecilia-ferrari
Copy link

Ciao! 👋

I was using batchq.submit_job function to submit jobs on caslake partition. However it returns this error message

File "submit_job.py", line 24, in <module>
    batchq.submit_job('python job.py', log=job_log, partition='caslake', qos='caslake', mem_per_cpu=1000, )
  File "/home/[...]/utilix/utilix/batchq.py", line 160, in submit_job
    os.makedirs(TMPDIR[partition], exist_ok=True)
KeyError: 'caslake'

since the 'caslake' key is not implemented for TMPDIR see this line for reference.
What about adding the caslake key? Do you think it is convenient to do so?

Thanks! 🌸

@FaroutYLq
Copy link
Collaborator

Thanks a lot Cecilia for spotting this! Would you please give a try for #75? Let me know if it solves the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants