Singularity | |
Author: | Gregory Kurtzer (gmk), et al. |
Developer: | Community Gregory Kurtzer |
Latest Release Version: | 3.8.7 |
Latest Release Date: | [1] |
Programming Language: | Go[2] |
Operating System: | Linux |
Genre: | Operating-system-level virtualization |
License: | 3-clause BSD License[3] |
Singularity is a free and open-source computer program that performs operating-system-level virtualization also known as containerization.[4]
One of the main uses of Singularity is to bring containers and reproducibility to scientific computing and the high-performance computing (HPC) world.[5]
The need for reproducibility requires the ability to use containers to move applications from system to system.[6]
Using Singularity containers, developers can work in reproducible environments of their choosing and design, and these complete environments can easily be copied and executed on other platforms.[7]
In 2021 the Singularity open source project split into two projects called Apptainer and SingularityCE.
Singularity began as an open-source project in 2015, when a team of researchers at Lawrence Berkeley National Laboratory, led by Gregory Kurtzer, developed the initial version written in the C programming language and released it[8] under the BSD license.[9]
By the end of 2016, many developers from different research facilities joined forces with the team at Lawrence Berkeley National Laboratory to further the development of Singularity.[10]
Singularity quickly attracted the attention of computing-heavy scientific institutions worldwide:[11]
For two years in a row, in 2016 and 2017, Singularity was recognized by HPCwire editors as "One of five new technologies to watch".[19] [20] In 2017 Singularity also won the first place for the category "Best HPC Programming Tool or Technology".
based on the data entered on a voluntary basis in a public registry, Singularity user base was estimated to be greater than 25,000 installations[21] and included users at academic institutions such as Ohio State University and Michigan State University, as well as top HPC centers like Texas Advanced Computing Center, San Diego Supercomputer Center, and Oak Ridge National Laboratory.
In February 2018 the Sylabs[22] company, founded by the Singularity author, was announced [23] to provide commercial support for Singularity. In October of that year Sylabs released version 3.0.0[24] which was a rewrite in the Go programming language.
In May 2020 Gregory Kurtzer left Sylabs but retained leadership of the Singularity open source project.[25] In May 2021 Sylabs made a fork of the project[26] and called it SingularityCE.[27] [28] In November 2021 the Singularity open source project joined the Linux Foundation[29] and was renamed to Apptainer.[30]
Singularity is able to support natively high-performance interconnects, such as InfiniBand[31] and Intel Omni-Path Architecture (OPA).[32]
Similar to the support for InfiniBand and Intel OPA devices, Singularity can support any PCIe-attached device within the compute node, such as graphic accelerators.[33]
Singularity also has native support for Open MPI library by utilizing a hybrid MPI container approach where OpenMPI exists both inside and outside the container.
These features make Singularity increasingly useful in areas such as machine learning, deep learning and most data-intensive workloads where the applications benefit from the high bandwidth and low latency characteristics of these technologies.[34]
HPC systems traditionally already have resource management and job scheduling systems in place, so the container runtime environments must be integrated into the existing system resource manager.
Using other enterprise container solutions like Docker in HPC systems would require modifications to the software.[35] Docker containers can be automatically converted to stand-alone singularity files which can then be submitted to HPC resource managers.[36]
Singularity seamlessly integrates with many resource managers[37] including: