Comments (3)
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.
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.
Glad to hear that helped. Good to close?
from drmaa-python.
Related Issues (20)
- Question: session bound to thread that created it? HOT 1
- MultiThreading and MUNGE HOT 3
- Segmentation fault when an integer is passed via JobTemplate.args
- DeprecationWarning on Python 3.6 HOT 1
- Segmentation Fault @ jobStatus using Torque
- Import constants without DRMAA C library HOT 4
- New maintainers needed HOT 3
- Release v0.7.9 HOT 18
- drmaa.errors.DeniedByDrmException: code 17: job rejected: no script in your request
- Using wurlitzer to capture and log stdout/stderr from libdrmaa HOT 3
- Dropping Python 2.6 HOT 2
- specifying the queue name? HOT 1
- drmaa communication exception/errors while running on SLURM
- munge invalid credential format submit jobs to SGE Cluster HOT 1
- drmaa.errors.DeniedByDrmException: code 17: Job was rejected because job requests unknown queue "all.q"
- How to run an interactive job through drmaa-python (Equivalent of command "qrsh")?
- Cannot execute binary file
- get the number of used slots from session.wait()
- Email address seems to be not set
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 drmaa-python.