Comments (5)
@cako it is a nice feature to have a non-blocking addprocs_*
. We are trying to get this package back in shape. Please submit a PR if it is not yet available. I am closing this issue as too old. Feel free to add another one or the PR directly.
from clustermanagers.jl.
if your SGE cluster supports qrsh, you might try addprocs_qrsh
instead. IIRC, that does not block.
from clustermanagers.jl.
Thanks @bjarthur, this works for me. Unfortunately addprocs_qrsh
cannot take res_list
like the others, but that should be easy enough to change. If I have time in the next few days I will try to sort it out.
I should add that since addprocs_qrsh
creates an ssh tunnel to the worker, it is wise to disable .bash_profile
on the worker. Otherwise commands defined inside it can mess up the communication between master and worker.
EDIT: Added pull request #82 to include res_list
support in addprocs_qrsh
from clustermanagers.jl.
Actually, upon trying this with more workers, it still does not submit the jobs asynchronously. Each processor must be added before the next job can be queued in the gist I linked. You can test it by running the script with, say 10 jobs, and executing watch qstat
in another window. You will notice that new jobs are only submitted after the previous started running. The only way in which I've managed to remove that restriction is by substituting
id = addprocs_qrsh(1)
by
qrsh = QRSHManager(1, "");
Distributed.cluster_mgmt_from_master_check()
id = Distributed.addprocs_locked(qrsh; qsub_env="")
In this case, all jobs will be queued at the same time. For some reason SGEManager
is a bit more stable for me when running many jobs, so for now I am sticking to that.
from clustermanagers.jl.
Has a non-blocking addprocs
ever been added? Is there a solution?
from clustermanagers.jl.
Related Issues (20)
- Extra options on SGE HOT 5
- Error in `rmprocs` SGE HOT 1
- Ship telnet via jll? HOT 2
- addprocs(SGEManager) fails HOT 5
- SGE fails in rmprocs
- Singularity images does not work with SLURM HOT 5
- Error launching workers: no such file or directory HOT 5
- TagBot trigger issue HOT 8
- lsf_bpeek makes strong assumptions on iterator state of retry_delays
- [SlurmManager] 100 % CPU usage while waiting for the job to get created HOT 6
- Better handling of SLURM job submission timing
- Handling of busy LSF deamon HOT 4
- SLURM 10 nodes good, 16 nodes error HOT 3
- pbs error HOT 4
- LSF manager broken in Julia 1.8.1 HOT 2
- -o argument in addprocs_slurm leads to an error
- ClusterManagers can be run on top of dask clusters! HOT 2
- Elastic auto IP address function HOT 2
- Limiting number of cores per node on with LSF HOT 3
- Finalizer task switch bug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clustermanagers.jl.