open-cravat icon indicating copy to clipboard operation
open-cravat copied to clipboard

multi-process parameter not working

Open tkmamidi opened this issue 2 years ago • 2 comments

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 avatar Aug 22 '23 19:08 tkmamidi

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

tkmamidi avatar Aug 22 '23 21:08 tkmamidi

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

kmoad avatar Oct 09 '23 17:10 kmoad