-
Notifications
You must be signed in to change notification settings - Fork 0
/
climt.def
37 lines (28 loc) · 658 Bytes
/
climt.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
Bootstrap: docker
From: python:3.6.15
%post
apt-get update
apt-get install -y vim
apt-get install -y git
apt-get install -y gcc g++
apt-get install -y gfortran-9
apt-get install -y libopenmpi-dev
apt-get install -y libfftw3-dev
apt-get install -y liblapack-dev
yes | pip install numba
yes | pip install matplotlib
yes | pip install mgzip
cd /opt/
git clone https://github.com/Ai33L/climt.git -b rare-event-code
cd climt
pip install -r requirements_dev.txt
python setup.py install
cd /
# Will contain the instructions to setup image
%runscript
/bin/bash
%labels
Author SCJ, Abel
Version v1.1
%help
This is a useless help text