Category : singularity-container

singularity container experts. I am using a pre-built singularity container for Tensorflow ML in remote cluster. I open the singularity container located in /cvmfs/unpacked.cern.ch/registry.hub.docker.com/fnallpc/ with command as below singularity run –nv –bind `readlink $HOME` –bind `readlink -f ${HOME}/nobackup/` –bind /cvmfs /cvmfs/unpacked.cern.ch/registry.hub.docker.com/fnallpc/fnallpc-docker:tensorflow-latest-devel-gpu-singularity It opens the singularity image well and command works. Now, I have several files ..

Read more

I am using base container from https://gitlab.com/nvidia/container-images/cuda/blob/master/doc/supported-tags.md My definition file starts with Bootstrap: docker From: nvidia/cuda:10.0-cudnn7-devel-ubuntu18.04 My Host OS has CUDA version 11.0. I am using the following commands to build my container singularity build –sandbox mycontainer/ new.def singularity shell –nv –writable mycontainer/ The –nv flag leads to using drivers from the host OS(cuda 11.0), ..

Read more

I have an Ubuntu docker container that works perfectly fine as is. I have a custom binary inside that executes and returns as expected. Because of security reasons, I cannot use docker for automated testing. I created a docker archive and then I load a singularity container from this docker archive. The binary that I ..

Read more

I have a shell script with multiple singularity commands in it myscript.sh #!/bin/sh/ singularity shell -B /home/user/Desktop/ /home/user/image/some_image.simg /home/user/miniconda/activate my_env cd /app/app_folder/scripts ls -ash when i run the script it get stuck after the shell is invoked. singularity> However I want the subsequent commands to run in the invoked shell. How do I go about ..

Read more

In Docker, I can create a private network: docker network create my-net run a MySQL database in one container: docker run -d –rm –name mysql-server –network my-net -e MYSQL_ROOT_PASSWORD=secret mysql/mysql-server:latest and communicate between that database and my application using the created network: docker run -it –rm –network my-net my_app All three calls reference the same ..

Read more

I am using Singularity to run a Docker Hub container (https://hub.docker.com/r/kavrakilab/dinc-bin), however, I get the following error. Command: singularity exec docker://kavrakilab/dinc-bin /usr/bin/python /dinc/dinc_job.py -o job-out.log > nohup.out & Error: Traceback (most recent call last): File "dinc.py", line 20, in <module> File "/tmp/pip-install-HBcc7g/pyinstaller/PyInstaller/loader/pyimod03_importers.py", line 395, in load_module File "pybel.py", line 89, in <module> File "pybel.py", line ..

Read more