Skip to content

Add option to run OpenMP threaded jobs #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
arnikz opened this issue Feb 8, 2018 · 3 comments
Closed

Add option to run OpenMP threaded jobs #57

arnikz opened this issue Feb 8, 2018 · 3 comments

Comments

@arnikz
Copy link

arnikz commented Feb 8, 2018

No description provided.

@arnikz arnikz changed the title Add option to run threaded jobs (OpenMP or pthreads) Add option to run OpenMP threaded jobs Feb 14, 2018
@arnikz
Copy link
Author

arnikz commented Feb 14, 2018

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
Copy link
Member

A bit more info on translating the various options:

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

@arnikz
Copy link
Author

arnikz commented Feb 14, 2018

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:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants