forked from gjbex/Fortran-MOOC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
development_node.def
108 lines (94 loc) · 2.7 KB
/
development_node.def
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
BootStrap: docker
From: ubuntu:21.04
%post
. /.singularity.d/env/10-docker*.sh
%post
apt-get update -y
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
build-essential
rm -rf /var/lib/apt/lists/*
# CMake version 3.18.3
%post
apt-get update -y
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
make \
wget
rm -rf /var/lib/apt/lists/*
%post
cd /
mkdir -p /var/tmp && wget -q -nc --no-check-certificate -P /var/tmp https://cmake.org/files/v3.18/cmake-3.18.3-Linux-x86_64.sh
mkdir -p /usr/local
/bin/sh /var/tmp/cmake-3.18.3-Linux-x86_64.sh --prefix=/usr/local --skip-license
rm -rf /var/tmp/cmake-3.18.3-Linux-x86_64.sh
%environment
export PATH=/usr/local/bin:$PATH
%post
export PATH=/usr/local/bin:$PATH
# GNU compiler
%post
apt-get update -y
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
g++ \
gcc \
gfortran
rm -rf /var/lib/apt/lists/*
%post
apt-get update -y
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
libopenmpi-dev \
openmpi-bin \
openmpi-common
rm -rf /var/lib/apt/lists/*
%post
apt-get update -y
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
gdb \
strace \
valgrind
rm -rf /var/lib/apt/lists/*
%post
apt-get update -y
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
doxygen
rm -rf /var/lib/apt/lists/*
%post
apt-get update -y
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
libgsl-dev \
libhdf5-dev \
libhdf5-fortran-102 \
liblapack-dev \
libopenblas-dev
rm -rf /var/lib/apt/lists/*
%post
apt-get update -y
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
jupyter-notebook \
python3 \
python3-numpy
rm -rf /var/lib/apt/lists/*
%post
apt-get update -y
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
emacs \
less \
nano \
vim
rm -rf /var/lib/apt/lists/*
%post
apt-get update -y
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
git
rm -rf /var/lib/apt/lists/*
%post
apt-get update -y
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
bzip2 \
gzip \
tar
rm -rf /var/lib/apt/lists/*
%post
apt-get update -y
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
gnuplot
rm -rf /var/lib/apt/lists/*