Skip to content

Commit

Permalink
OAR: add async to _submit_job method (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
msimonin committed Feb 5, 2020
1 parent 7343632 commit 3f4cd0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dask_jobqueue/oar.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def __init__(

logger.debug("Job script: \n %s" % self.job_script())

def _submit_job(self, fn):
async def _submit_job(self, fn):
# OAR specificity: the submission script needs to exist on the worker
# when the job starts on the worker. This is different from other
# schedulers that only need the script on the submission node at
Expand Down
5 changes: 3 additions & 2 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Changelog
=========

Devlopment version
------------------
Development version
-------------------

- ``LSFCluster``: add ``use_stdin`` to ``LSFCluster``. This switches between
``bsub < job_script`` and ``bsub job_script`` to launch a ``LSF`` job
Expand All @@ -13,6 +13,7 @@ Devlopment version
``processes ~= sqrt(cores)`` so that the number of processes and the number
of threads per process is roughly the same. Old default was to use one
process and only threads, i.e. ``proccesses=1``, ``threads_per_process=cores``.
- fix bug (forgotten async def) in ``OARCluster._submit_job`` (:pr:`380`).

0.7.0 / 2019-10-09
------------------
Expand Down

0 comments on commit 3f4cd0c

Please sign in to comment.