Git Product home page Git Product logo

Comments (3)

jakirkham avatar jakirkham commented on August 23, 2024

So DRMAA would be used to set the working directory (workingDirectory), stdout/stderr log filenames (outputPath/errorPath ), job name (jobName), and command to be run (remoteCommand). The -j y is redundant for DRMAA; so, would be dropped. The rest don't have a corresponding DRMAA parameter, but can be passed in using nativeSpecification, which is just a catchall string parameter for anything that qsub (or similar on other clusters) would need.

As a simple example, you might find this code interesting. It creates a light CLI around DRMAA and allows submitting jobs without much of the boiler plate that qsub needs.

from drmaa-python.

stevekm avatar stevekm commented on August 23, 2024

Thanks. Found a mention of it here:

I have a job script on SGE which has the following line embedded to specify the -pe option: "# -pe smp 8" How can I make DRMAA book the slots in SGE correctly?

If there are platform (SGE) specific things that you want to pass on that are not in the general drmaa interface, you can use the nativeSpecification field to pass any string that you like. E.g. job.nativeSpecification = "-pe smp 8"

from drmaa-python.

jakirkham avatar jakirkham commented on August 23, 2024

Glad to hear that helped. Good to close?

from drmaa-python.

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.