Fix for mrview / singularity / NVIDIA#2559
Conversation
|
It might take a little more effort to sort out exactly how to refine the documentation (and potentially container recipes also) to try to get the containers not only working with Currently the only Linux system I have access to is a laptop with dual GPU (Intel integrated + NVidia) and I have had multiple failed attempts to get Optimus working. I had a go with 3.0.4 and got the following: When building image using Singularity recipe:
When building Singularity image from dockerhub: I'd rather confirm on a non-Optimus system before committing to changes. I'll also have another go at Optimus on this system... |
Co-authored-by: Robert Smith <[email protected]>
|
I think this change may in fact be wrong. It proposes that a user replace: singularity run -B /run MRtrix3.sif mrviewwith: However path |
Simple addition to the documentation. Without the "--nv" flag, Singularity doesn't pass through the required access to NVIDIA drivers. If you're not using these, the existing code should work. But, if you do have NVIDIA drivers installed, you need to tell Singularity to get access to them.