Conversation
|
I think some of these changes will also need to be made in async_client.py. It has very similar code to uit.py but in an async context. I noticed our app is calling the async get_raw_queue_stats(), so it did not get your changes. |
|
Will do! I started on it a while back, but ran into some bugs with what I already had in uit.py so I reverted the changes so I could start fresh once I had those bugs worked out. I'll get those updates rolled in ASAP! |
uit/async_client.py
Outdated
| self.scheduler = NODE_TYPES[self.system]["scheduler"] | ||
| self.commands = COMMANDS[self.scheduler] |
There was a problem hiding this comment.
Is this the right spot for these two lines? I get an error on them whenever I try to submit a new job or delete that job.
In uit.py, these lines are in prepare_connect() which is called by both sync and async connect(), so async_client.py might not need these lines here.
There was a problem hiding this comment.
Oh, I guess I didn't realize it was calling prepare_connect() from the regular client. I'll make the changes ASAP
|
The async submit() is still using a hard-coded "qsub" command in async_client.py:590. Edit: the error message from qsub is:
I thought using the qsub compatibility command would work until we get pyuit to write out a Slurm script, but I can't get it to work, even with other queues. |
|
The "Max Wall Time" and "Max Processes" don't look right to me. Wall time said 10080 when I was expecting it in a 04:00:00 format. The processes looked more like number of nodes when I'm used to seeing number of cores. |
This also sorts the list by system name.
Added support for Slurm to
uit.py.