6
6
# Finally, open http://localhost:8888/
7
7
8
8
Bootstrap: docker
9
- FROM nvcr.io/nvidia/nvhpc:24.1-devel-cuda_multi-ubuntu22.04
9
+ FROM: nvcr.io/nvidia/nvhpc:24.1-devel-cuda_multi-ubuntu22.04
10
10
11
11
%environment
12
12
export XDG_RUNTIME_DIR=
13
13
export PATH="$PATH:/usr/local/bin:/opt/anaconda3/bin:/usr/bin"
14
+ export VER=24.1
14
15
15
16
%post
16
- build_tmp=$(mktemp -d) && cd ${build_tmp}
17
-
17
+ # build_tmp=$(mktemp -d) && cd ${build_tmp}
18
+ . /.singularity.d/env/10-docker*.sh
18
19
apt-get -y update
19
- apt-get -y dist-upgrade
20
+ # apt-get -y dist-upgrade
20
21
DEBIAN_FRONTEND=noninteractive apt-get -yq install --no-install-recommends \
21
- m4 vim-nox emacs-nox nano zip\
22
- python3-pip python3-setuptools git-core inotify-tools python3-dev \
23
- curl git-lfs \
24
- build-essential libtbb-dev
22
+ python3-pip python3-setuptools nginx zip make build-essential libtbb-dev python3-dev\
23
+ curl git-lfs
24
+
25
25
rm -rf /var/lib/apt/cache/*
26
26
27
27
pip3 install --upgrade pip
@@ -31,19 +31,23 @@ FROM nvcr.io/nvidia/nvhpc:24.1-devel-cuda_multi-ubuntu22.04
31
31
pip3 install jupyterlab
32
32
pip3 install ipywidgets
33
33
34
- apt-get install --no-install-recommends -y build-essential
34
+ apt-get update -y
35
35
36
- python3 /labs/_common/dataset.py
36
+ git clone https://github.com/NVIDIA/nvbandwidth.git
37
+ cd nvbandwidth && apt update && apt install -y libboost-program-options-dev && ./debian_install.sh
38
+ cd ..
37
39
40
+ ############################################
38
41
apt-get update -y
39
- apt-get install --no-install-recommends -y build-essential
40
42
41
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
42
- bash Miniconda3-latest-Linux-x86_64.sh -b -p /opt/anaconda3
43
- rm Miniconda3-latest-Linux-x86_64.sh
43
+ python3 /labs/_common/dataset.py
44
+
45
+ #wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
46
+ #bash Miniconda3-latest-Linux-x86_64.sh -b -p /opt/anaconda3
47
+ #rm Miniconda3-latest-Linux-x86_64.sh
44
48
45
- cd /
46
- rm -rf ${build_tmp}
49
+ # cd /
50
+ # rm -rf ${build_tmp}
47
51
48
52
%files
49
53
_basic/openacc/ /labs/openacc
0 commit comments