SlideShare une entreprise Scribd logo
1  sur  31
Télécharger pour lire hors ligne
Shifter and Singularity on Blue Waters
Maxim Belkin
June 7, 2018
A simplistic view of a scientific application
My Application
DATA RESULTS
Your Computer
My Application
DATA RESULTS i
Blue Waters
My Application
DATA RESULTS
Received an allocation on Blue Waters!
A more realistic view of a scientific application
My Application
LIBRARY X
DATA RESULTS
EXECUTABLE Y HARDWARE Z
Your Computer
My Application
DATA
LIBRARY A EXECUTABLE B HARDWARE C
RESULTS
Blue Waters
A more realistic view of a scientific application
My Application
LIBRARY X
DATA RESULTS
EXECUTABLE Y HARDWARE C
Software
Containers
https://github.com/NERSC/shifter https://github.com/singularityware/singularityhttps://github.com/docker
DockerShifter Singularity
Not suitable
for HPC
Designed
for HPC
Can be used in
HPC environment
Docker
FROM centos:7
RUN yum update && ... wget …
COPY file.ext inside/container/
RUN ./configure && make && …
WORKDIR /home/user
1) Build: docker build -t repo/name:tag .
2) Upload: docker push repo/name:tag
3) Download: docker pull repo/name:tag
4) Run: docker run repo/name:tag
4a) Execute: docker exec <container> command
Dockerfile
https://github.com/NERSC/shifter https://github.com/singularityware/singularity
Docker
ssh qsub aprun
Login nodes
User
MOM nodes
Compute nodes
-l gres=shifter16
Docker
qsub
Login nodes
MOM nodes
-l gres=shifter16
-v UDI=repo/name:tag
-l gres=shifter16
-v UDI=repo/name:tag
export CRAY_ROOTFS=SHIFTER
aprun -b ... --
app-in-container --options
Compute nodes
application
application
application
application
application
application
application
application
UDI: User-Defined Image
Docker
qsub
Login nodes
MOM nodes
-l gres=shifter16
-l gres=shifter16
module load shifter
aprun -b ... --
shifter --image=repo/name:tag --
app-in-container --options
Compute nodes
application
application
application
application
application
application
application
application
Shifter module
shifter
shifterimg
images
lookup
pull
login
returns info about available UDIs
returns an ID of an image (if available)
launches an app from UDI on compute nodes
downloads Docker image and converts it to UDI
authenticates to DockerHub (for private images)
Examples
shifterimg images
shifterimg lookup ubuntu:zesty
shifterimg pull centos:latest
shifterimg login
shifterimg pull --user bw_user prvimg1:latest
shifterimg pull --group bw_grp prvimg2:latest
image on DockerHub
image on Blue Waters
My Application
LIBRARY X
DATA RESULTS
EXECUTABLE Y HARDWARE Z
MPI in Shifter: requirements
1. glibc 2.17+ (CentOS 7, Ubuntu 14)
2. Use one of the following MPIs (see MPICH-ABI compatibility)
3. Do not use package manager to install MPI*
In a Container:
• MPICH v3.1+
• Intel® MPI Library v5.0+
• Cray MPT v7.0.0+
• MVAPICH2 2.0+
• Parastation MPI 5.1.7-1+
• IBM MPI v2.1+
MPI in Shifter: requirements
On Blue Waters:
1. Use Intel or GNU Programming Environment
2. Load MPICH ABI-compatible MPI (on BW: cray-mpich-abi)
3. Set LD_LIBRARY_PATH to the location of MPICH-ABI libraries
MPI in Shifter: in Dockerfile
FROM centos:7
RUN yum -y install file gcc make gcc-gfortran gcc-c++ wget curl
RUN cd /usr/local/src/ && 
wget http://www.mpich.org/static/downloads/3.2/mpich-3.2.tar.gz && 
tar xf mpich-3.2.tar.gz && 
rm mpich-3.2.tar.gz && 
cd mpich-3.2 && 
./configure && 
make && make install && 
cd /usr/local/src && 
rm -rf mpich-3.2*
module unload PrgEnv-cray
module unload cce
module load PrgEnv-gnu
module unload cray-mpich
module load cray-mpich-abi
LIBS=$CRAY_LD_LIBRARY_PATH:/opt/cray/wlm_detect/default/lib64
CACHE=$PWD/cache.$PBS_JOBID
mkdir -p $CACHE
for dir in $( echo $LIBS | tr ":" " " ); do cp -L -r $dir $CACHE; done
export LD_LIBRARY_PATH=$CACHE/lib:$CACHE/lib64
19
1
2
3
4
5
6
7
8
9
10
11
12
MPI in Shifter: job batch script snippet
qsub -l gres=shifter16 -l nodes=2:ppn=32:xe
module load shifter
aprun -b -n 64 -N 32 -- shifter --image=repo/image:tag -- app
aprun -b -n 64 -N 32 -- shifter --image=repo/image2:tag -- app2
20
MPI in Shifter
qsub -l gres=shifter16 -v UDI=repo/image:tag -l nodes=2:ppn=32:xe
export CRAY_ROOTFS=SHIFTER
aprun -b -n 64 -N 32 -- app
1
2
21
MPI in Shifter
2 4 8 16 32 64 128 256 512 1024 2048 4096
Nodes
2
4
8
16
32
64
128
256
Jobstart-uptime,s
1.7 GB
CLI
36 MB
prologue
ppn = 1
1 2 4 8 16
processes per node (ppn)
4
8
16
32
64
Jobstart-uptime,s
1.7 GB
CLI
36 MB
prologue
80 nodes
a
b
T(N, ppn=1)
T(N=80, ppn)
1
2
DOI: 10.1145/3219104.3219145
Hon Wai Leong
22
Performance of MPI applications in Shifter
DOI: 10.1145/3219104.3219145
Time,µs
Message size, bytes
107
106
105
104
103
102
10 106
105
104
103
102
1
a CLE
MPI_Alltoall
MPI_Alltoallv
Shifter
0
1
2
3
4
0 200 400 600 800 1000 1200
b
Time,ms
Message size, kilobytes
CLE
MPI_Bcast
MPI_Reduce
Shifter
7.5
8.0
8.5
IORRead,GB/s
Benchmark number
0 10 20 30
2.5
3.0
3.5
IORWrite,GB/s
Cray Linux Environment
Shifter
Cray Linux Environment
Shifter
Galen Arnold
23
Using GPUs in Shifter
1. Use Shifter CLI:
shifter --image ...
2. Set CUDA_VISIBLE_DEVICES:
export CUDA_VISIBLE_DEVICES=0
aprun -b ... -- shifter --image=centos:latest -- nvidia-smi
24
Using MPI + GPUs in Shifter
Caveat: shifter command removes LD_LIBRARY_PATH
Solution: use a script to pass LD_LIBRARY_PATH
aprun -b -n ... -N 1 -e VAR="$LD_LIBRARY_PATH” ... 
shifter --image=repo/name:tag ... -- script.sh
script.sh:
export LD_LIBRARY_PATH=“$VAR”
application
Directory mapping between BW and Shifter UDI
shifter ... --volume=/path/on/BW:/path/in/UDI
Important: /path/in/UDI must exist in UDI
qsub -v UDI="centos:latest -v /u/sciteam/$USER:/home"
/projects, /scratch, and “Home” folders are mapped between Blue Waters and UDI!
https://github.com/NERSC/shifter https://github.com/singularityware/singularity
Docker
ssh qsub aprun
Login nodes
User
MOM nodes
Compute nodes
-l gres=singularity
Docker
qsub
Login nodes
MOM nodes
-l gres=singularity
-l gres=singularity
module load singularity
singularity build IMAGE.simg docker://centos:latest
singularity exec -H /u:/home IMAGE.simg -- app
Compute nodes
application
application
application
application
application
application
application
application
Directory mapping between BW and Singularity
singularity exec -B /path/on/BW:/path/in/singularity
And... /path/in/singularity does not have to exist.
/projects on BW is /mnt/abc/projects in SingularityNote: /projects on BW is /mnt/abc/projects in Singularity
/scratch on BW is /mnt/abc/scratch in Singularity
GPUs in Singularity
singularity exec --nv ...
If you’re using BW directories, make sure they are mapped into Singularity image
Example:
aprun -n 16 -N 8 -b -- singularity exec -B
/dsl/opt/cray/nvidia/default/bin:/home/staff/mbelkin
/home/staff/mbelkin/nvidia-smi
38
Thank you!

Contenu connexe

Tendances

ELC-E Linux Awareness
ELC-E Linux AwarenessELC-E Linux Awareness
ELC-E Linux AwarenessPeter Griffin
 
時代在變 Docker 要會:台北 Docker 一日入門篇
時代在變 Docker 要會:台北 Docker 一日入門篇時代在變 Docker 要會:台北 Docker 一日入門篇
時代在變 Docker 要會:台北 Docker 一日入門篇Philip Zheng
 
容器與資料科學應用
容器與資料科學應用容器與資料科學應用
容器與資料科學應用Philip Zheng
 
Security Monitoring with eBPF
Security Monitoring with eBPFSecurity Monitoring with eBPF
Security Monitoring with eBPFAlex Maestretti
 
ATO Linux Performance 2018
ATO Linux Performance 2018ATO Linux Performance 2018
ATO Linux Performance 2018Brendan Gregg
 
Understanding eBPF in a Hurry!
Understanding eBPF in a Hurry!Understanding eBPF in a Hurry!
Understanding eBPF in a Hurry!Ray Jenkins
 
Learn enough Docker to be dangerous
Learn enough Docker to be dangerousLearn enough Docker to be dangerous
Learn enough Docker to be dangerousDavid Tan
 
Perl on embedded Linux with Buildroot‎
Perl on embedded Linux with Buildroot‎Perl on embedded Linux with Buildroot‎
Perl on embedded Linux with Buildroot‎François Perrad
 
Checkpoint/restore of containers with CRIU
Checkpoint/restore of containers with CRIUCheckpoint/restore of containers with CRIU
Checkpoint/restore of containers with CRIUOpenVZ
 
FOSDEM2015: Live migration for containers is around the corner
FOSDEM2015: Live migration for containers is around the cornerFOSDEM2015: Live migration for containers is around the corner
FOSDEM2015: Live migration for containers is around the cornerAndrey Vagin
 
Docker at OpenDNS
Docker at OpenDNSDocker at OpenDNS
Docker at OpenDNSOpenDNS
 
LISA18: Hidden Linux Metrics with Prometheus eBPF Exporter
LISA18: Hidden Linux Metrics with Prometheus eBPF ExporterLISA18: Hidden Linux Metrics with Prometheus eBPF Exporter
LISA18: Hidden Linux Metrics with Prometheus eBPF ExporterIvan Babrou
 
手把手帶你學 Docker 入門篇
手把手帶你學 Docker 入門篇手把手帶你學 Docker 入門篇
手把手帶你學 Docker 入門篇Philip Zheng
 
RxNetty vs Tomcat Performance Results
RxNetty vs Tomcat Performance ResultsRxNetty vs Tomcat Performance Results
RxNetty vs Tomcat Performance ResultsBrendan Gregg
 
netfilter and iptables
netfilter and iptablesnetfilter and iptables
netfilter and iptablesKernel TLV
 
Prosit google-cloud
Prosit google-cloudProsit google-cloud
Prosit google-cloudUC Davis
 

Tendances (20)

Docker as an every day work tool
Docker as an every day work toolDocker as an every day work tool
Docker as an every day work tool
 
ELC-E Linux Awareness
ELC-E Linux AwarenessELC-E Linux Awareness
ELC-E Linux Awareness
 
時代在變 Docker 要會:台北 Docker 一日入門篇
時代在變 Docker 要會:台北 Docker 一日入門篇時代在變 Docker 要會:台北 Docker 一日入門篇
時代在變 Docker 要會:台北 Docker 一日入門篇
 
容器與資料科學應用
容器與資料科學應用容器與資料科學應用
容器與資料科學應用
 
Security Monitoring with eBPF
Security Monitoring with eBPFSecurity Monitoring with eBPF
Security Monitoring with eBPF
 
ATO Linux Performance 2018
ATO Linux Performance 2018ATO Linux Performance 2018
ATO Linux Performance 2018
 
Understanding eBPF in a Hurry!
Understanding eBPF in a Hurry!Understanding eBPF in a Hurry!
Understanding eBPF in a Hurry!
 
Learn enough Docker to be dangerous
Learn enough Docker to be dangerousLearn enough Docker to be dangerous
Learn enough Docker to be dangerous
 
Perl on embedded Linux with Buildroot‎
Perl on embedded Linux with Buildroot‎Perl on embedded Linux with Buildroot‎
Perl on embedded Linux with Buildroot‎
 
eBPF Basics
eBPF BasicseBPF Basics
eBPF Basics
 
Checkpoint/restore of containers with CRIU
Checkpoint/restore of containers with CRIUCheckpoint/restore of containers with CRIU
Checkpoint/restore of containers with CRIU
 
Introduction of k8s rancher
Introduction of k8s rancherIntroduction of k8s rancher
Introduction of k8s rancher
 
FOSDEM2015: Live migration for containers is around the corner
FOSDEM2015: Live migration for containers is around the cornerFOSDEM2015: Live migration for containers is around the corner
FOSDEM2015: Live migration for containers is around the corner
 
Docker at OpenDNS
Docker at OpenDNSDocker at OpenDNS
Docker at OpenDNS
 
LISA18: Hidden Linux Metrics with Prometheus eBPF Exporter
LISA18: Hidden Linux Metrics with Prometheus eBPF ExporterLISA18: Hidden Linux Metrics with Prometheus eBPF Exporter
LISA18: Hidden Linux Metrics with Prometheus eBPF Exporter
 
手把手帶你學 Docker 入門篇
手把手帶你學 Docker 入門篇手把手帶你學 Docker 入門篇
手把手帶你學 Docker 入門篇
 
RxNetty vs Tomcat Performance Results
RxNetty vs Tomcat Performance ResultsRxNetty vs Tomcat Performance Results
RxNetty vs Tomcat Performance Results
 
netfilter and iptables
netfilter and iptablesnetfilter and iptables
netfilter and iptables
 
CI-CD WITH GITLAB WORKFLOW
CI-CD WITH GITLAB WORKFLOWCI-CD WITH GITLAB WORKFLOW
CI-CD WITH GITLAB WORKFLOW
 
Prosit google-cloud
Prosit google-cloudProsit google-cloud
Prosit google-cloud
 

Similaire à Shifter singularity - june 7, 2018 - bw symposium

Kubernetes laravel and kubernetes
Kubernetes   laravel and kubernetesKubernetes   laravel and kubernetes
Kubernetes laravel and kubernetesWilliam Stewart
 
Chicago Docker Meetup Presentation - Mediafly
Chicago Docker Meetup Presentation - MediaflyChicago Docker Meetup Presentation - Mediafly
Chicago Docker Meetup Presentation - MediaflyMediafly
 
Kubernetes for the PHP developer
Kubernetes for the PHP developerKubernetes for the PHP developer
Kubernetes for the PHP developerPaul Czarkowski
 
Check the version with fixes. Link in description
Check the version with fixes. Link in descriptionCheck the version with fixes. Link in description
Check the version with fixes. Link in descriptionPrzemyslaw Koltermann
 
給 RD 的 Kubernetes 初體驗
給 RD 的 Kubernetes 初體驗給 RD 的 Kubernetes 初體驗
給 RD 的 Kubernetes 初體驗William Yeh
 
IBM MQ in containers MQTC 2017
IBM MQ in containers MQTC 2017IBM MQ in containers MQTC 2017
IBM MQ in containers MQTC 2017Robert Parker
 
k8s practice 2023.pptx
k8s practice 2023.pptxk8s practice 2023.pptx
k8s practice 2023.pptxwonyong hwang
 
Openshift: The power of kubernetes for engineers - Riga Dev Days 18
Openshift: The power of kubernetes for engineers - Riga Dev Days 18Openshift: The power of kubernetes for engineers - Riga Dev Days 18
Openshift: The power of kubernetes for engineers - Riga Dev Days 18Jorge Morales
 
Kubernetes - Sailing a Sea of Containers
Kubernetes - Sailing a Sea of ContainersKubernetes - Sailing a Sea of Containers
Kubernetes - Sailing a Sea of ContainersKel Cecil
 
Simplifying and accelerating converged media with Open Visual Cloud
Simplifying and accelerating converged media with Open Visual CloudSimplifying and accelerating converged media with Open Visual Cloud
Simplifying and accelerating converged media with Open Visual CloudLiz Warner
 
Dev opsec dockerimage_patch_n_lifecyclemanagement_
Dev opsec dockerimage_patch_n_lifecyclemanagement_Dev opsec dockerimage_patch_n_lifecyclemanagement_
Dev opsec dockerimage_patch_n_lifecyclemanagement_kanedafromparis
 
Scaling Docker Containers using Kubernetes and Azure Container Service
Scaling Docker Containers using Kubernetes and Azure Container ServiceScaling Docker Containers using Kubernetes and Azure Container Service
Scaling Docker Containers using Kubernetes and Azure Container ServiceBen Hall
 
DockerとKubernetesをかけめぐる
DockerとKubernetesをかけめぐるDockerとKubernetesをかけめぐる
DockerとKubernetesをかけめぐるKohei Tokunaga
 
stackconf 2022: Cluster Management: Heterogeneous, Lightweight, Safe. Pick Three
stackconf 2022: Cluster Management: Heterogeneous, Lightweight, Safe. Pick Threestackconf 2022: Cluster Management: Heterogeneous, Lightweight, Safe. Pick Three
stackconf 2022: Cluster Management: Heterogeneous, Lightweight, Safe. Pick ThreeNETWAYS
 
Rust & Python : Python WA October meetup
Rust & Python : Python WA October meetupRust & Python : Python WA October meetup
Rust & Python : Python WA October meetupJohn Vandenberg
 
Real-World Docker: 10 Things We've Learned
Real-World Docker: 10 Things We've Learned  Real-World Docker: 10 Things We've Learned
Real-World Docker: 10 Things We've Learned RightScale
 
Revolutionizing WSO2 PaaS with Kubernetes & App Factory
Revolutionizing WSO2 PaaS with Kubernetes & App FactoryRevolutionizing WSO2 PaaS with Kubernetes & App Factory
Revolutionizing WSO2 PaaS with Kubernetes & App FactoryImesh Gunaratne
 
Keynote #Tech - Google : aperçu de la gestion des services distribués chez Go...
Keynote #Tech - Google : aperçu de la gestion des services distribués chez Go...Keynote #Tech - Google : aperçu de la gestion des services distribués chez Go...
Keynote #Tech - Google : aperçu de la gestion des services distribués chez Go...Paris Open Source Summit
 

Similaire à Shifter singularity - june 7, 2018 - bw symposium (20)

Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 
Kubernetes laravel and kubernetes
Kubernetes   laravel and kubernetesKubernetes   laravel and kubernetes
Kubernetes laravel and kubernetes
 
Chicago Docker Meetup Presentation - Mediafly
Chicago Docker Meetup Presentation - MediaflyChicago Docker Meetup Presentation - Mediafly
Chicago Docker Meetup Presentation - Mediafly
 
Kubernetes for the PHP developer
Kubernetes for the PHP developerKubernetes for the PHP developer
Kubernetes for the PHP developer
 
Check the version with fixes. Link in description
Check the version with fixes. Link in descriptionCheck the version with fixes. Link in description
Check the version with fixes. Link in description
 
給 RD 的 Kubernetes 初體驗
給 RD 的 Kubernetes 初體驗給 RD 的 Kubernetes 初體驗
給 RD 的 Kubernetes 初體驗
 
IBM MQ in containers MQTC 2017
IBM MQ in containers MQTC 2017IBM MQ in containers MQTC 2017
IBM MQ in containers MQTC 2017
 
k8s practice 2023.pptx
k8s practice 2023.pptxk8s practice 2023.pptx
k8s practice 2023.pptx
 
Openshift: The power of kubernetes for engineers - Riga Dev Days 18
Openshift: The power of kubernetes for engineers - Riga Dev Days 18Openshift: The power of kubernetes for engineers - Riga Dev Days 18
Openshift: The power of kubernetes for engineers - Riga Dev Days 18
 
Kubernetes - Sailing a Sea of Containers
Kubernetes - Sailing a Sea of ContainersKubernetes - Sailing a Sea of Containers
Kubernetes - Sailing a Sea of Containers
 
Simplifying and accelerating converged media with Open Visual Cloud
Simplifying and accelerating converged media with Open Visual CloudSimplifying and accelerating converged media with Open Visual Cloud
Simplifying and accelerating converged media with Open Visual Cloud
 
Dev opsec dockerimage_patch_n_lifecyclemanagement_
Dev opsec dockerimage_patch_n_lifecyclemanagement_Dev opsec dockerimage_patch_n_lifecyclemanagement_
Dev opsec dockerimage_patch_n_lifecyclemanagement_
 
Scaling Docker Containers using Kubernetes and Azure Container Service
Scaling Docker Containers using Kubernetes and Azure Container ServiceScaling Docker Containers using Kubernetes and Azure Container Service
Scaling Docker Containers using Kubernetes and Azure Container Service
 
App container rkt
App container rktApp container rkt
App container rkt
 
DockerとKubernetesをかけめぐる
DockerとKubernetesをかけめぐるDockerとKubernetesをかけめぐる
DockerとKubernetesをかけめぐる
 
stackconf 2022: Cluster Management: Heterogeneous, Lightweight, Safe. Pick Three
stackconf 2022: Cluster Management: Heterogeneous, Lightweight, Safe. Pick Threestackconf 2022: Cluster Management: Heterogeneous, Lightweight, Safe. Pick Three
stackconf 2022: Cluster Management: Heterogeneous, Lightweight, Safe. Pick Three
 
Rust & Python : Python WA October meetup
Rust & Python : Python WA October meetupRust & Python : Python WA October meetup
Rust & Python : Python WA October meetup
 
Real-World Docker: 10 Things We've Learned
Real-World Docker: 10 Things We've Learned  Real-World Docker: 10 Things We've Learned
Real-World Docker: 10 Things We've Learned
 
Revolutionizing WSO2 PaaS with Kubernetes & App Factory
Revolutionizing WSO2 PaaS with Kubernetes & App FactoryRevolutionizing WSO2 PaaS with Kubernetes & App Factory
Revolutionizing WSO2 PaaS with Kubernetes & App Factory
 
Keynote #Tech - Google : aperçu de la gestion des services distribués chez Go...
Keynote #Tech - Google : aperçu de la gestion des services distribués chez Go...Keynote #Tech - Google : aperçu de la gestion des services distribués chez Go...
Keynote #Tech - Google : aperçu de la gestion des services distribués chez Go...
 

Plus de inside-BigData.com

Preparing to program Aurora at Exascale - Early experiences and future direct...
Preparing to program Aurora at Exascale - Early experiences and future direct...Preparing to program Aurora at Exascale - Early experiences and future direct...
Preparing to program Aurora at Exascale - Early experiences and future direct...inside-BigData.com
 
Transforming Private 5G Networks
Transforming Private 5G NetworksTransforming Private 5G Networks
Transforming Private 5G Networksinside-BigData.com
 
The Incorporation of Machine Learning into Scientific Simulations at Lawrence...
The Incorporation of Machine Learning into Scientific Simulations at Lawrence...The Incorporation of Machine Learning into Scientific Simulations at Lawrence...
The Incorporation of Machine Learning into Scientific Simulations at Lawrence...inside-BigData.com
 
How to Achieve High-Performance, Scalable and Distributed DNN Training on Mod...
How to Achieve High-Performance, Scalable and Distributed DNN Training on Mod...How to Achieve High-Performance, Scalable and Distributed DNN Training on Mod...
How to Achieve High-Performance, Scalable and Distributed DNN Training on Mod...inside-BigData.com
 
Evolving Cyberinfrastructure, Democratizing Data, and Scaling AI to Catalyze ...
Evolving Cyberinfrastructure, Democratizing Data, and Scaling AI to Catalyze ...Evolving Cyberinfrastructure, Democratizing Data, and Scaling AI to Catalyze ...
Evolving Cyberinfrastructure, Democratizing Data, and Scaling AI to Catalyze ...inside-BigData.com
 
HPC Impact: EDA Telemetry Neural Networks
HPC Impact: EDA Telemetry Neural NetworksHPC Impact: EDA Telemetry Neural Networks
HPC Impact: EDA Telemetry Neural Networksinside-BigData.com
 
Biohybrid Robotic Jellyfish for Future Applications in Ocean Monitoring
Biohybrid Robotic Jellyfish for Future Applications in Ocean MonitoringBiohybrid Robotic Jellyfish for Future Applications in Ocean Monitoring
Biohybrid Robotic Jellyfish for Future Applications in Ocean Monitoringinside-BigData.com
 
Machine Learning for Weather Forecasts
Machine Learning for Weather ForecastsMachine Learning for Weather Forecasts
Machine Learning for Weather Forecastsinside-BigData.com
 
HPC AI Advisory Council Update
HPC AI Advisory Council UpdateHPC AI Advisory Council Update
HPC AI Advisory Council Updateinside-BigData.com
 
Fugaku Supercomputer joins fight against COVID-19
Fugaku Supercomputer joins fight against COVID-19Fugaku Supercomputer joins fight against COVID-19
Fugaku Supercomputer joins fight against COVID-19inside-BigData.com
 
Energy Efficient Computing using Dynamic Tuning
Energy Efficient Computing using Dynamic TuningEnergy Efficient Computing using Dynamic Tuning
Energy Efficient Computing using Dynamic Tuninginside-BigData.com
 
HPC at Scale Enabled by DDN A3i and NVIDIA SuperPOD
HPC at Scale Enabled by DDN A3i and NVIDIA SuperPODHPC at Scale Enabled by DDN A3i and NVIDIA SuperPOD
HPC at Scale Enabled by DDN A3i and NVIDIA SuperPODinside-BigData.com
 
Versal Premium ACAP for Network and Cloud Acceleration
Versal Premium ACAP for Network and Cloud AccelerationVersal Premium ACAP for Network and Cloud Acceleration
Versal Premium ACAP for Network and Cloud Accelerationinside-BigData.com
 
Zettar: Moving Massive Amounts of Data across Any Distance Efficiently
Zettar: Moving Massive Amounts of Data across Any Distance EfficientlyZettar: Moving Massive Amounts of Data across Any Distance Efficiently
Zettar: Moving Massive Amounts of Data across Any Distance Efficientlyinside-BigData.com
 
Scaling TCO in a Post Moore's Era
Scaling TCO in a Post Moore's EraScaling TCO in a Post Moore's Era
Scaling TCO in a Post Moore's Erainside-BigData.com
 
CUDA-Python and RAPIDS for blazing fast scientific computing
CUDA-Python and RAPIDS for blazing fast scientific computingCUDA-Python and RAPIDS for blazing fast scientific computing
CUDA-Python and RAPIDS for blazing fast scientific computinginside-BigData.com
 
Introducing HPC with a Raspberry Pi Cluster
Introducing HPC with a Raspberry Pi ClusterIntroducing HPC with a Raspberry Pi Cluster
Introducing HPC with a Raspberry Pi Clusterinside-BigData.com
 

Plus de inside-BigData.com (20)

Major Market Shifts in IT
Major Market Shifts in ITMajor Market Shifts in IT
Major Market Shifts in IT
 
Preparing to program Aurora at Exascale - Early experiences and future direct...
Preparing to program Aurora at Exascale - Early experiences and future direct...Preparing to program Aurora at Exascale - Early experiences and future direct...
Preparing to program Aurora at Exascale - Early experiences and future direct...
 
Transforming Private 5G Networks
Transforming Private 5G NetworksTransforming Private 5G Networks
Transforming Private 5G Networks
 
The Incorporation of Machine Learning into Scientific Simulations at Lawrence...
The Incorporation of Machine Learning into Scientific Simulations at Lawrence...The Incorporation of Machine Learning into Scientific Simulations at Lawrence...
The Incorporation of Machine Learning into Scientific Simulations at Lawrence...
 
How to Achieve High-Performance, Scalable and Distributed DNN Training on Mod...
How to Achieve High-Performance, Scalable and Distributed DNN Training on Mod...How to Achieve High-Performance, Scalable and Distributed DNN Training on Mod...
How to Achieve High-Performance, Scalable and Distributed DNN Training on Mod...
 
Evolving Cyberinfrastructure, Democratizing Data, and Scaling AI to Catalyze ...
Evolving Cyberinfrastructure, Democratizing Data, and Scaling AI to Catalyze ...Evolving Cyberinfrastructure, Democratizing Data, and Scaling AI to Catalyze ...
Evolving Cyberinfrastructure, Democratizing Data, and Scaling AI to Catalyze ...
 
HPC Impact: EDA Telemetry Neural Networks
HPC Impact: EDA Telemetry Neural NetworksHPC Impact: EDA Telemetry Neural Networks
HPC Impact: EDA Telemetry Neural Networks
 
Biohybrid Robotic Jellyfish for Future Applications in Ocean Monitoring
Biohybrid Robotic Jellyfish for Future Applications in Ocean MonitoringBiohybrid Robotic Jellyfish for Future Applications in Ocean Monitoring
Biohybrid Robotic Jellyfish for Future Applications in Ocean Monitoring
 
Machine Learning for Weather Forecasts
Machine Learning for Weather ForecastsMachine Learning for Weather Forecasts
Machine Learning for Weather Forecasts
 
HPC AI Advisory Council Update
HPC AI Advisory Council UpdateHPC AI Advisory Council Update
HPC AI Advisory Council Update
 
Fugaku Supercomputer joins fight against COVID-19
Fugaku Supercomputer joins fight against COVID-19Fugaku Supercomputer joins fight against COVID-19
Fugaku Supercomputer joins fight against COVID-19
 
Energy Efficient Computing using Dynamic Tuning
Energy Efficient Computing using Dynamic TuningEnergy Efficient Computing using Dynamic Tuning
Energy Efficient Computing using Dynamic Tuning
 
HPC at Scale Enabled by DDN A3i and NVIDIA SuperPOD
HPC at Scale Enabled by DDN A3i and NVIDIA SuperPODHPC at Scale Enabled by DDN A3i and NVIDIA SuperPOD
HPC at Scale Enabled by DDN A3i and NVIDIA SuperPOD
 
State of ARM-based HPC
State of ARM-based HPCState of ARM-based HPC
State of ARM-based HPC
 
Versal Premium ACAP for Network and Cloud Acceleration
Versal Premium ACAP for Network and Cloud AccelerationVersal Premium ACAP for Network and Cloud Acceleration
Versal Premium ACAP for Network and Cloud Acceleration
 
Zettar: Moving Massive Amounts of Data across Any Distance Efficiently
Zettar: Moving Massive Amounts of Data across Any Distance EfficientlyZettar: Moving Massive Amounts of Data across Any Distance Efficiently
Zettar: Moving Massive Amounts of Data across Any Distance Efficiently
 
Scaling TCO in a Post Moore's Era
Scaling TCO in a Post Moore's EraScaling TCO in a Post Moore's Era
Scaling TCO in a Post Moore's Era
 
CUDA-Python and RAPIDS for blazing fast scientific computing
CUDA-Python and RAPIDS for blazing fast scientific computingCUDA-Python and RAPIDS for blazing fast scientific computing
CUDA-Python and RAPIDS for blazing fast scientific computing
 
Introducing HPC with a Raspberry Pi Cluster
Introducing HPC with a Raspberry Pi ClusterIntroducing HPC with a Raspberry Pi Cluster
Introducing HPC with a Raspberry Pi Cluster
 
Overview of HPC Interconnects
Overview of HPC InterconnectsOverview of HPC Interconnects
Overview of HPC Interconnects
 

Dernier

HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 

Dernier (20)

HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

Shifter singularity - june 7, 2018 - bw symposium

  • 1. Shifter and Singularity on Blue Waters Maxim Belkin June 7, 2018
  • 2. A simplistic view of a scientific application My Application DATA RESULTS
  • 3. Your Computer My Application DATA RESULTS i Blue Waters My Application DATA RESULTS Received an allocation on Blue Waters!
  • 4. A more realistic view of a scientific application My Application LIBRARY X DATA RESULTS EXECUTABLE Y HARDWARE Z Your Computer
  • 5. My Application DATA LIBRARY A EXECUTABLE B HARDWARE C RESULTS Blue Waters A more realistic view of a scientific application
  • 6. My Application LIBRARY X DATA RESULTS EXECUTABLE Y HARDWARE C Software Containers
  • 8. Docker FROM centos:7 RUN yum update && ... wget … COPY file.ext inside/container/ RUN ./configure && make && … WORKDIR /home/user 1) Build: docker build -t repo/name:tag . 2) Upload: docker push repo/name:tag 3) Download: docker pull repo/name:tag 4) Run: docker run repo/name:tag 4a) Execute: docker exec <container> command Dockerfile
  • 10. Docker ssh qsub aprun Login nodes User MOM nodes Compute nodes -l gres=shifter16
  • 11. Docker qsub Login nodes MOM nodes -l gres=shifter16 -v UDI=repo/name:tag -l gres=shifter16 -v UDI=repo/name:tag export CRAY_ROOTFS=SHIFTER aprun -b ... -- app-in-container --options Compute nodes application application application application application application application application UDI: User-Defined Image
  • 12. Docker qsub Login nodes MOM nodes -l gres=shifter16 -l gres=shifter16 module load shifter aprun -b ... -- shifter --image=repo/name:tag -- app-in-container --options Compute nodes application application application application application application application application
  • 13. Shifter module shifter shifterimg images lookup pull login returns info about available UDIs returns an ID of an image (if available) launches an app from UDI on compute nodes downloads Docker image and converts it to UDI authenticates to DockerHub (for private images)
  • 14. Examples shifterimg images shifterimg lookup ubuntu:zesty shifterimg pull centos:latest shifterimg login shifterimg pull --user bw_user prvimg1:latest shifterimg pull --group bw_grp prvimg2:latest image on DockerHub image on Blue Waters
  • 15. My Application LIBRARY X DATA RESULTS EXECUTABLE Y HARDWARE Z
  • 16. MPI in Shifter: requirements 1. glibc 2.17+ (CentOS 7, Ubuntu 14) 2. Use one of the following MPIs (see MPICH-ABI compatibility) 3. Do not use package manager to install MPI* In a Container: • MPICH v3.1+ • Intel® MPI Library v5.0+ • Cray MPT v7.0.0+ • MVAPICH2 2.0+ • Parastation MPI 5.1.7-1+ • IBM MPI v2.1+
  • 17. MPI in Shifter: requirements On Blue Waters: 1. Use Intel or GNU Programming Environment 2. Load MPICH ABI-compatible MPI (on BW: cray-mpich-abi) 3. Set LD_LIBRARY_PATH to the location of MPICH-ABI libraries
  • 18. MPI in Shifter: in Dockerfile FROM centos:7 RUN yum -y install file gcc make gcc-gfortran gcc-c++ wget curl RUN cd /usr/local/src/ && wget http://www.mpich.org/static/downloads/3.2/mpich-3.2.tar.gz && tar xf mpich-3.2.tar.gz && rm mpich-3.2.tar.gz && cd mpich-3.2 && ./configure && make && make install && cd /usr/local/src && rm -rf mpich-3.2*
  • 19. module unload PrgEnv-cray module unload cce module load PrgEnv-gnu module unload cray-mpich module load cray-mpich-abi LIBS=$CRAY_LD_LIBRARY_PATH:/opt/cray/wlm_detect/default/lib64 CACHE=$PWD/cache.$PBS_JOBID mkdir -p $CACHE for dir in $( echo $LIBS | tr ":" " " ); do cp -L -r $dir $CACHE; done export LD_LIBRARY_PATH=$CACHE/lib:$CACHE/lib64 19 1 2 3 4 5 6 7 8 9 10 11 12 MPI in Shifter: job batch script snippet
  • 20. qsub -l gres=shifter16 -l nodes=2:ppn=32:xe module load shifter aprun -b -n 64 -N 32 -- shifter --image=repo/image:tag -- app aprun -b -n 64 -N 32 -- shifter --image=repo/image2:tag -- app2 20 MPI in Shifter qsub -l gres=shifter16 -v UDI=repo/image:tag -l nodes=2:ppn=32:xe export CRAY_ROOTFS=SHIFTER aprun -b -n 64 -N 32 -- app 1 2
  • 21. 21 MPI in Shifter 2 4 8 16 32 64 128 256 512 1024 2048 4096 Nodes 2 4 8 16 32 64 128 256 Jobstart-uptime,s 1.7 GB CLI 36 MB prologue ppn = 1 1 2 4 8 16 processes per node (ppn) 4 8 16 32 64 Jobstart-uptime,s 1.7 GB CLI 36 MB prologue 80 nodes a b T(N, ppn=1) T(N=80, ppn) 1 2 DOI: 10.1145/3219104.3219145 Hon Wai Leong
  • 22. 22 Performance of MPI applications in Shifter DOI: 10.1145/3219104.3219145 Time,µs Message size, bytes 107 106 105 104 103 102 10 106 105 104 103 102 1 a CLE MPI_Alltoall MPI_Alltoallv Shifter 0 1 2 3 4 0 200 400 600 800 1000 1200 b Time,ms Message size, kilobytes CLE MPI_Bcast MPI_Reduce Shifter 7.5 8.0 8.5 IORRead,GB/s Benchmark number 0 10 20 30 2.5 3.0 3.5 IORWrite,GB/s Cray Linux Environment Shifter Cray Linux Environment Shifter Galen Arnold
  • 23. 23 Using GPUs in Shifter 1. Use Shifter CLI: shifter --image ... 2. Set CUDA_VISIBLE_DEVICES: export CUDA_VISIBLE_DEVICES=0 aprun -b ... -- shifter --image=centos:latest -- nvidia-smi
  • 24. 24 Using MPI + GPUs in Shifter Caveat: shifter command removes LD_LIBRARY_PATH Solution: use a script to pass LD_LIBRARY_PATH aprun -b -n ... -N 1 -e VAR="$LD_LIBRARY_PATH” ... shifter --image=repo/name:tag ... -- script.sh script.sh: export LD_LIBRARY_PATH=“$VAR” application
  • 25. Directory mapping between BW and Shifter UDI shifter ... --volume=/path/on/BW:/path/in/UDI Important: /path/in/UDI must exist in UDI qsub -v UDI="centos:latest -v /u/sciteam/$USER:/home" /projects, /scratch, and “Home” folders are mapped between Blue Waters and UDI!
  • 27. Docker ssh qsub aprun Login nodes User MOM nodes Compute nodes -l gres=singularity
  • 28. Docker qsub Login nodes MOM nodes -l gres=singularity -l gres=singularity module load singularity singularity build IMAGE.simg docker://centos:latest singularity exec -H /u:/home IMAGE.simg -- app Compute nodes application application application application application application application application
  • 29. Directory mapping between BW and Singularity singularity exec -B /path/on/BW:/path/in/singularity And... /path/in/singularity does not have to exist. /projects on BW is /mnt/abc/projects in SingularityNote: /projects on BW is /mnt/abc/projects in Singularity /scratch on BW is /mnt/abc/scratch in Singularity
  • 30. GPUs in Singularity singularity exec --nv ... If you’re using BW directories, make sure they are mapped into Singularity image Example: aprun -n 16 -N 8 -b -- singularity exec -B /dsl/opt/cray/nvidia/default/bin:/home/staff/mbelkin /home/staff/mbelkin/nvidia-smi