-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME.docker
More file actions
27 lines (17 loc) · 804 Bytes
/
README.docker
File metadata and controls
27 lines (17 loc) · 804 Bytes
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
# This docker build sets up the following software
# GCC, G++, GFortran 8.0 and 9.0 compilers (default 8)
# Nvidia CUDA
# Intel OneAPI
# AMD ROCm
# You can switch between versions of the gcc compiler in
# the docker container with
update-alternatives --config gcc
# To run the example in docker, do the following
# Download the docker install file for your system
# For the pre-built docker image, run (future build)
docker run -p 4000:80 -it --entrypoint /bin/bash essentialsofparallelcomputing/chapter12
# Alternatively, build an image locally and run it
docker build -t chapter12 .
docker run -it --entrypoint /bin/bash chapter12
# For Intel products, you will have to source the following script to set the environment
source /opt/intel/inteloneapi/setvars.sh