lh3 / asub Goto Github PK
View Code? Open in Web Editor NEWA unified array job submitter for LSF, SGE/UGE and Slurm
A unified array job submitter for LSF, SGE/UGE and Slurm
Specifying additional -R parameter options to asub using the open lava
scheduler causes an error.
asub --help 2>&1 | grep -- '-R'
With arguments: -P -R -j -k -q -c -w -M -n -m -W -g -C
Options: -R STR resources string (only one -R allowed) [null]
Note: For option -R and -w, SGE and LSF have different syntax. Please
-R "select[type==X86_64&&mem>800] rusage[mem=800]"
-R h_cpu=86400,h_data=1000000000
As described in the documentation if you set the-R
option, asub
creates two -R switches causing bsub
to fail.
A reproducible error is provided.
## Error
$ echo "hello world" | asub -R "rusage[mem=200]"
Invalid syntax; the -R option was used more than once.
. Job not submitted.
## Dry run - two copies of -R switch
$ echo "hello world" | asub -R "rusage[mem=200]" -p
mkdir -p asub_27423390.out asub_27423390.err && echo '/software/OSutils/asub-2.1/asub -g 1 -k ${LSB_JOBINDEX} asub_27423390.sh' | bsub -Jasub_27423390"[1-1]" -o asub_27423390.out/%I.out -e asub_27423390.err/%I.err -R "rusage[mem=200]" -n 1 -R "span[hosts=1]"
@kiwiroy has written a fix for this;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.