Hello!
Just wondering, what is the correct way to describe containerOptions in a process block. When I try the following (as recommended by the nvidia docker image):
containerOptions "--gpus all --ipc=host --shm-size=1g --ulimit 'memlock=-1' --ulimit 'stack=67108864'"
with or without the single quotes, it fails with a cryptic error message :
I believe this issue lies with the --shm-size=1g option. If I’m not mistaken, AWS Batch handles the shm size differently than docker. You must provide Batch with the value in megabytes. In your case, that would mean setting --shm-size=1024. Could you please try that?
Is there actual documentation for this? I can find a number of discussions on github, see #2471,#2282, and was marked as solved as of 22.04.0 release.
Based on #2471, it seems like it should be of the form: