Comments (8)
from clustermanagers.jl.
Wouldn't it be better to use -v
and specify only the env variables you need? params
contains all the keyword args. You could pass a qsubenv = Dict("ENV1"=>"VAL1",....)
and process them as -v
options.
from clustermanagers.jl.
So adding another argument to addprocs
where you can optionally choose which environment variables to pass?
from clustermanagers.jl.
Yes. All keyword arguments to addprocs
are available in params
in
launch(manager::Union{PBSManager, SGEManager}, params::Dict, ..........)
from clustermanagers.jl.
So I thought of modify addprocs_sge
definition:
addprocs_sge(np::Integer, queue::AbstractString="",enviromentVars::AbstractString="") = addprocs(SGEManager(np, queue),(:enviromentVars,enviromentVars))
And then modifying launch to have:
function launch(manager::Union{PBSManager, SGEManager}, params::Dict, instances_arr::Array, c::Condition)
...
enviromentVars = params[:enviromentVars]
if enviromentVars == ""
eVars = ""
else
eVars = ["-v" enviromentVars]
end
And adding this to the open command. What do you think?
from clustermanagers.jl.
Yes, this should work.
from clustermanagers.jl.
Ok, I'll amend my fixQueue pull request to make it take care of this.
from clustermanagers.jl.
fixed with #33
from clustermanagers.jl.
Related Issues (20)
- ElasticManager does not export get_connect_cmd
- htcondor manager: failure when listening to a telnet commu HOT 4
- 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
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.