diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 87f3dd1f22..aa3b27a513 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -115,6 +115,7 @@ src/min* @sjplimp @stanmoore1 # tools tools/msi2lmp/* @akohlmey tools/emacs/* @HaoZeke +tools/singularity/* @akohlmey @rbberger # cmake cmake/* @junghans @rbberger diff --git a/tools/singularity/README.md b/tools/singularity/README.md index abef8b2886..7374beb898 100644 --- a/tools/singularity/README.md +++ b/tools/singularity/README.md @@ -48,7 +48,6 @@ make | ------------------------------ | ---------------------------------------------- | | centos7.def | CentOS 7.x with EPEL enabled, no LaTeX | | centos8.def | CentOS 8.x with EPEL enabled | -| fedora30_mingw.def | Fedora 30 with MinGW cross-compiler toolchain | | fedora32_mingw.def | Fedora 32 with MinGW cross-compiler toolchain | | ubuntu16.04.def | Ubuntu 16.04LTS with MPI == OpenMPI, no LaTeX | | ubuntu18.04.def | Ubuntu 18.04LTS with MPI == OpenMPI | @@ -57,3 +56,4 @@ make | ubuntu18.04_nvidia.def | Ubuntu 18.04LTS with Nvidia CUDA 10.2 toolkit | | ubuntu18.04_intel_opencl.def | Ubuntu 18.04LTS with Intel OpenCL runtime | | ubuntu20.04.def | Ubuntu 20.04LTS with MPI == OpenMPI | +| ------------------------------ | ---------------------------------------------- | diff --git a/tools/singularity/centos7.def b/tools/singularity/centos7.def index b273610065..0051f4cee2 100644 --- a/tools/singularity/centos7.def +++ b/tools/singularity/centos7.def @@ -11,9 +11,18 @@ From: centos:7 hdf5-devel python36-virtualenv python36-pip python-pip \ netcdf-devel netcdf-cxx-devel netcdf-mpich-devel netcdf-openmpi-devel \ python-virtualenv fftw-devel voro++-devel eigen3-devel gsl-devel openblas-devel enchant \ - blas-devel lapack-devel + blas-devel lapack-devel libyaml-devel yum clean all + # set custom prompt indicating the container name + CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh + cat >$CUSTOM_PROMPT_ENV <$CUSTOM_PROMPT_ENV <$CUSTOM_PROMPT_ENV <$CUSTOM_PROMPT_ENV <$CUSTOM_PROMPT_ENV <$CUSTOM_PROMPT_ENV <> /etc/ld.so.conf.d/nvidia.conf - echo "/usr/local/nvidia/lib64" >> /etc/ld.so.conf.d/nvidia.conf - - # clean cache - rm -rf /var/lib/apt/lists/* - -%labels - Author rbberger diff --git a/tools/singularity/ubuntu18.04_gpu.def b/tools/singularity/ubuntu18.04_gpu.def index 861b45dd3c..e55a3522da 100644 --- a/tools/singularity/ubuntu18.04_gpu.def +++ b/tools/singularity/ubuntu18.04_gpu.def @@ -104,9 +104,23 @@ From: rocm/dev-ubuntu-18.04 ln -s /usr/local/cuda-10.2 /usr/local/cuda ln -s /usr/local/cuda-10.2/lib64/stubs/libcuda.so /usr/local/cuda-10.2/lib64/stubs/libcuda.so.1 + # set custom prompt indicating the container name + CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh + cat >$CUSTOM_PROMPT_ENV <$CUSTOM_PROMPT_ENV <$CUSTOM_PROMPT_ENV <$CUSTOM_PROMPT_ENV <