Giter Site home page Giter Site logo

Comments (6)

davidavdav avatar davidavdav commented on July 21, 2024

Any progress on this subject? I have a local copy of ClusterManagers where I have hacked in the name of my referred queue in the code, but that is not really a long term solution.

Thanks

from clustermanagers.jl.

ViralBShah avatar ViralBShah commented on July 21, 2024

Can you submit a PR? This should be generally useful.

from clustermanagers.jl.

davidavdav avatar davidavdav commented on July 21, 2024

I would---and I stated a while ago, but I got stuck at passing options to lauch(). There is an config Dict, but I can't see how I can get any additional info in there. Addprocs_sge() calls addprocs() which calls Base.addprocs_internal() and this last function does not allow any additional options/arguments.

Should I first submit a PR to Base to add an extra option just for qsub?

from clustermanagers.jl.

ihnorton avatar ihnorton commented on July 21, 2024

With the caveat that I've never used any of these systems: how about making queue a variable of the two ClusterManager subtypes? So if queue is a parameter of the types then you can set it up in the call to addprocs_sge (which you have to call anyway, right?). Something like:

immutable SGEManager <: ClusterManager
  queue::ASCIIString
end
addprocs_sge(np::Integer; queue = "") = addprocs(np, manager=SGEManager(queue))
...(and add it to qsub -q when available)...

from clustermanagers.jl.

ViralBShah avatar ViralBShah commented on July 21, 2024

Cc: @amitmurthy

from clustermanagers.jl.

davidavdav avatar davidavdav commented on July 21, 2024

Thanks,

This is indeed a perfect approach, I think. I'll test this now shortly,

--david

On Mon, Oct 13, 2014 at 2:49 AM, Isaiah [email protected] wrote:

With the caveat that I've never used any of these systems: how about
making queue a variable of the two ClusterManager subtypes? So if queue is
a parameter of the types then you can set it up in the call to
addprocs_sge (which you have to call anyway, right?). Something like:

immutable SGEManager <: ClusterManager
queue::ASCIIString
end
addprocs_sge(np::Integer; queue = "") = addprocs(np, manager=SGEManager(queue))
...(and add it to qsub -q when available)...


Reply to this email directly or view it on GitHub
#9 (comment)
.

David van Leeuwen

from clustermanagers.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.