Closed lbeltrame closed 11 years ago
The reason lies in the memory scaling functions, so it's a user error, and not an issue in the pipeline. However a warning messages when the total memory needed by user-set memory per core is greater than the system's memory would immediately pinpoint the issue.
Luca; Sorry about the issues. I re-wrote two parts of the documentation to emphasize this more so it will hopefully be less of a problem for other users. I'm not sure a warning will be especially useful here since it's fairly common to be scaling this to match specifications. Generally I'd like to make the documentation clearer that you don't need to tell bcbio-nextgen exactly what to do, but rather specify the expected usage and let it do the rest. Happy to adjust things more to help make this clearer.
Sorry about the issues. I re-wrote two parts of the documentation to emphasize this more so it will hopefully be less of a problem for other
Thanks Brad: I suggested a warning merely because at first it wasn't clear why cores were dropping despite me having ample resources to use (I ended up putting pdb calls to see what was going on). The new wording is much clearer now.
Despite my cluster having each machine with 24 cores, the latest git master from bcbio-nextgen forces aligners and all other bits to run on 2 cores.
I've set cores for bwa and samtools in the YAML configuration file, here posted for reference:
When starting the aligner, I get this log bit (formatted for clarity):
Notice the "cores" section. It's 2 despite the settings above.