forked from AlTarFramework/altar
-
Notifications
You must be signed in to change notification settings - Fork 2
Docker container
Lijun Zhu edited this page Oct 24, 2019
·
1 revision
The commands
wget https://gitlab.com/nvidia/container-images/cuda/raw/master/dist/ubuntu18.04/10.1/runtime/Dockerfile docker build --build-arg IMAGE_NAME=nvidia/cuda . -t cuda/nvidia:10.1 docker run -it cuda/nvidia:10.1 apt update && apt install -y gcc g++ python3 python3-dev python3-numpy python3-h5py libgsl-dev libopenblas-dev libpq-dev libopenmpi-dev libhdf5-serial-dev make git cd /usr/local/src git clone https://github.com/aivazis/mm.git git clone https://github.com/lijun99/pyre.git git clone https://github.com/lijun99/altar.git wget http://mirrors.kernel.org/ubuntu/pool/main/m/make-dfsg/make_4.2.1-1.2_amd64.deb dpkg -i make_4.2.1-1.2_amd64.deb ln -sf /usr/bin/make /usr/bin/gmake alias mm='python3 /usr/local/src/mm/mm.py' cd /usr/local/src/pyre # copy a config.mm to .mm mm --prefix=/usr/local # add