I'm having trouble getting the `BBNORM` process of...
# mag
d
I'm having trouble getting the
BBNORM
process of #mag through on our cluster. It's failing on memory. My guess is that it's the tool (Java-based) that oversubscribes memory at some point and gets killed by the OS. I modified the nf-core module (also used in #metatdenovo) a while ago to only give the process 0.95 of the
task.memory
. This updated module is not yet in mag, I believe. Now, a colleague has problems with #metatdenovo that suggests the 0.95 wasn't sufficient. It would be better, I think, if we could do this a bit more generic so users can tune this themselves. I was thinking of something like
task.ext.mem_multiplier
but adding this might be difficult as many other developers might have opinions. OTOH, I imagine other modules might actually benefit. Any thoughts or should I bring it up in #modules?
j
I hate java so much
(sometimes)
I agree we need some system to do so the problem for a generic system is each tool needs a different overhead
Is your idea wiht
task.ext.mem_multiplier
is that that is included in all modules as a generic thing, but you can customise it on a per module basis?
in modules.config?
(that is exposed to users via a tool specific parmaeter?)
d
A
task.ext.mem_multiplier ?: 1
in modules. And, yes, exposed to users with params for key processes that are known to cause problems.
👍 1
j
I like the idea
Java is common enough
I would like to suggest you make an #rfc-suggestions 😉
to get a few more brains on it
d
Not necessarily only for Java.
j
Of course, but I meant that is a very common usecase alreaduy
👍 1
d
Never heard of that channel, but I'll go ahead.