
SIMPLE
定義、設定、メタデータ、セキュリティキーなど、すべてのコンポーネントを
1つのファイルにまとめて簡単に作成できます。
FAST
NVIDIA / Cuda、AMD GFX8 / 9 などの GPU アクセラレータをネイティブで
サポートしています。
SECURE
すべてのコンテナでキー署名を使用し保護することで、アプリケーション環境
全体を暗号化された信頼性の高いパッケージにできます。
Singularity は、計算環境やアプリケーションに変更があっても使い続けることができる Linux コンテナです。アプリケーション本体やライブラリ、必要なデータ等をひとつにまとめてパッケージ化する事で、いつでもどこでも同じアプリケーションを使うことができます。最近クラウドや計算センターでの利用が増えてきており、大規模環境への移行も容易です。
有名な Linux コンテナに docker がありますが、以下に docker との違いを簡単に挙げます。
・Docker だと root 権限が必要だが Singularity では各ユーザがコンテナを立ち上げることが
できる。
・Docker では困難であった、 マルチノード環境でのMPI実行や Infiniband 等 HPC 系ソフトウェア
スタックが利用できる。
・Docker では使えなかったジョブスケジューラを使うことができる。
・Docker ではGPU を使う場合、別途 nvidia-docker をインスト-ルする必要があるが Singularity
はオプションを付けるだけで使える。
共有環境でのコンテナ利用は Singularity をお勧めします。

| Feature |
Singularity |
Docker |
| Work with HPC Job Schedulers | Yes | No |
| Native Support for MPI | Yes | Yes |
| Native Support for InfiniBand | Yes | Yes |
| Native Support for GPU | Yes | No |
| Require Daemon process with root privilege | No | Yes |
SingularityPRO では長期的なサポートとバグやセキュリティ修正が迅速に行われます。
SingularityPRO and Community White Paper
https://sylabs.io/assets/white-papers/Sylabs_Whitepaper_High_performance_server_v3.pdf
| Feature |
Singularity |
SingularityPRO |
| Supports Traditional HPC Resources | ■ | ■ |
| Resouce Manager Agonstic | ■ | ■ |
| SIF: Single File Container Format | ■ | ■ |
| Cryptographically Verifiable |
■ | ■ |
| Compatible with OCI Images |
■ | ■ |
| No Persistent Daemon Process |
■ | ■ |
| Support for Non-root Users Running Containers as Themselves |
■ | ■ |
| Blocks Privilege Escalation within a Container | ■ | ■ |
| BOYE: Bring Your Own Environment Usage Model |
■ | ■ |
| Support for AI/HPC Workflows and Architectures |
■ | ■ |
| Support GPUs Natively |
■ | ■ |
| Self-Service Support Model(Open Source) |
■ | ■ |
| Code Curation |
■ | |
| Streamlined Security Updates |
■ | |
| Preferred Security Updates |
■ | |
| Signed Singularity RPM/DEB Packages |
■ | |
| Access to Sylabs Cloud KeyStore | Freemium | Premium |
| Access to Sylabs Cloud Container Library | Freemium | Premium |
| Access to Sylabs Cloud Remote Build Services | Freemium | Premium |
| Enterprise Support | ■ | |
| Enterprise Intergration | ■ |