# Basic Singularity: running and building Singularity containers >[color=#907bf7] **Place:** The workshop will be online via Zoom :zzz: *Link will be sent a week before the workshop.* **Time:** 9:15-12:00, 13:15-16:00 13 February 2024 (*If you need help with the workshop setup the meeting will be open from 9:00*) **Workshop material online**: https://pmitev.github.io/UPPMAX-Singularity-workshop/ **Questions during the workshop** https://hackmd.io/@pmitev/Singularity_QA_20240213 h-ttps://hackmd.io/@pmitev/Singularity_FAQ_20220928 --- ## Send us an e-mail with subject you want to be addressed. - **How can I run MPI parallel code with Singularity** > [name=Pavlin][time=Apr 22, 2021][color=#907bf7] Have a look at this documentation page https://sylabs.io/guides/latest/user-guide/mpi.html - **How to run GUI programs (openGL apps for instance)** > [name=Pavlin][time=Apr 22, 2021][color=#907bf7] I have not experienced any problems with OpenGL. I have successfully containerized and used [VMD](https://www.ks.uiuc.edu/Research/vmd/) in a Singularity container. Here is the [recipe](https://github.com/pmitev/Teoroo-singularity/blob/master/MD2-lab/Singularity.md2-lab) I have successfully used in two MD lab occasions running on [Rackham](https://www.uppmax.uu.se/resources/systems/the-rackham-cluster/). In contrary, I had luck installing problematic OpenGL software ([XCrySDen](xcrysden)) in Singularity that has severe problems to install and run on Rackham - [recipe](https://github.com/pmitev/Teoroo-singularity/blob/master/xcrysden/Singularity.xcrysden). - **Can we build images in Bianca? How does working in Bianca and building Singularity images look like (in terms of the steps or workflow)?** >[name=Pavlin][time=Feb 12, 2024][color=#907bf7] In principle - yes, but with severe restrictions, since there is no Internet access on Bianca. In practice, users mostly convert from Docker to Singularity or add missing data in the container (building from another container) - **I would like to hear about conversion from Docker to Singularity recipes. I often find that research groups provide Docker images/recipes instead of singularity/appraiser versions. I know it is possible to convert or build those with singularity, but it is not always working.** >[name=Pavlin][time=Feb 12, 2024][color=#907bf7] Indeed, most docker images are convertable, but might not work because of some particular designs (common practices for docker) that fail when running Singularity - running as different user (defined in the docker container) - running daemons or services - assuming the process has root access # Contacts: - [Pavlin Mitev](https://katalog.uu.se/profile/?id=N3-1425) - UPPMAX - [Pedro Ojeda May](https://www.umu.se/en/staff/pedro-ojeda-may/) - HPC2N - [UPPMAX](https://www.uppmax.uu.se/), [HPC2N](https://www.hpc2n.umu.se/) ![](https://snic.se/digitalAssets/603/c_603880-l_1-k_image.png =122x38) ![](https://live.webb.uu.se/digitalAssets/207/c_207717-l_3-k_bg-city.png) ###### tags: `SNIC`, `UPPMAX`, `HPC2N`, `Singularity`, `workshop`