-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathppc64le_10-1.dockerfile
29 lines (23 loc) · 998 Bytes
/
ppc64le_10-1.dockerfile
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
FROM nvidia/cuda-ppc64le:10.1-devel-ubuntu18.04
# Set one or more individual labels
LABEL maintainer="Carl Pearson"
# prevent prompts during apt-get
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y -q --no-install-recommends --no-install-suggests \
cmake \
libglib2.0 \
&& rm -rf /var/lib/apt/lists/*
COPY test.cu .
COPY nsight-compute-PPC64LE-2019.5.0.14-27346997.run nsight_compute.run
COPY NVIDIA_Nsight_Systems_Power_CLI_Only_2020.2.1.71.deb nsight_systems.deb
# install Nsight Compute
# install script seems to want TERM set
RUN chmod +x nsight_compute.run
RUN TERM=xterm ./nsight_compute.run --quiet -- -noprompt -targetpath=/opt/NVIDIA-Nsight-Compute
ENV PATH /opt/NVIDIA-Nsight-Compute:${PATH}
# work around rai jobs having a different path than docker run
RUN ln -s /opt/NVIDIA-Nsight-Compute/nv-nsight-cu-cli /usr/local/bin/nv-nsight-cu-cli
RUN rm nsight_compute.run
# install Nsight Systems
RUN dpkg -i nsight_systems.deb
RUN rm nsight_systems.deb