Skip to content
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

multi-process parameter not working #176

Open
tkmamidi opened this issue Aug 22, 2023 · 2 comments
Open

multi-process parameter not working #176

tkmamidi opened this issue Aug 22, 2023 · 2 comments
Assignees

Comments

@tkmamidi
Copy link

I'm working with slurm on a HPC and couldn't get the --mp parameter working. Here's the command I used and the error:

oc run testing_variants_hg38.vcf.gz -l hg38 --mp 20 -t csv --package mypackage

image

Also, it is picking the available CPUs on the node and not from the slurm job resources. maybe the num_workers should be modified to reflect situations with HPC usage?

image

Any help is appreciated!

Thanks!

@tkmamidi
Copy link
Author

Something to consider while getting the number of CPUs available for n_workers - https://stackoverflow.com/a/55423170

@kmoad
Copy link
Collaborator

kmoad commented Oct 9, 2023

Probably a good idea to use os.sched_getaffinity on linux systems. We'll look into adding that for the next release.

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