SamStudio8 / reticulatus

A snakemake-based pipeline for assembling and polishing long genomes from long nanopore reads
MIT License
68 stars 5 forks source link

Ensure GPU devices are provisioned #38

Closed SamStudio8 closed 4 years ago

SamStudio8 commented 4 years ago

GPUutil returns the desired number of GPU interfaces that are currently available. However, if all the devices are busy, it will return an empty list. We should raise an error here, to prevent a GPU-task being carried out on the CPU only.