Skip to content

Latest commit

 

History

History
62 lines (50 loc) · 1.38 KB

README.md

File metadata and controls

62 lines (50 loc) · 1.38 KB

Build a Docker image with CUDA 11.3

  1. Clone cultionet
git clone https://github.com/jgrss/cultionet.git
cd cultionet/
  1. Build the image
docker build -t cultionet .

NOTE: Be patient -- the image can take a while to build.


  1. Run cultionet with the new Docker image.
docker run -it cultionet:latest cultionet [commands]

For example, to run the help printout:

docker run -it cultionet:latest cultionet -h
  1. Run with GPU
docker run -it --rm --gpus=all --runtime=nvidia cultionet:latest cultionet -h

Build with a different CUDA version or on the CPU

Build with CUDA 10.2

git clone https://github.com/jgrss/cultionet.git
cd cultionet/dockerfiles
docker build -t cultionet -f Dockerfile_cuda102 .

Build with CUDA 11.3

git clone https://github.com/jgrss/cultionet.git
cd cultionet/dockerfiles
docker build -t cultionet -f Dockerfile_cuda113 .

Build with CUDA 11.5

git clone https://github.com/jgrss/cultionet.git
cd cultionet/dockerfiles
docker build -t cultionet -f Dockerfile_cuda115 .

Build with a CPU installation

git clone https://github.com/jgrss/cultionet.git
cd cultionet/dockerfiles
docker build -t cultionet -f Dockerfile_cpu .