xenon-middleware / xenon-cli

Perform files and jobs operations with Xenon library from command line
http://nlesc.github.io/Xenon/
Apache License 2.0
2 stars 3 forks source link

Add option to run OpenMP threaded jobs #57

Closed arnikz closed 5 years ago

arnikz commented 6 years ago

xenon-cli options: with SGE: --option parallel.environment=threaded --option parallel.slots=... (using -pe threaded ...) with SLURM: ??? (should use --cpus-per-task=...)

It would be nice to have single option common to both (all) schedulers so that the xenon command requires a single change only i.e. gridengine or slurm. One could harmonize the options across schedulers using e.g. a config file (incl. user-defined mappings).

jmaassen commented 6 years ago

A bit more info on translating the various options:

https://slurm.schedmd.com/rosetta.pdf

arnikz commented 6 years ago

I've used a similar conversion table for my use case (see here) but it did not work with my OpenMP program so I've followed this suggestion, which worked fine:)