|
1 | | -FROM ubuntu:22.04 |
| 1 | +FROM nvidia/cuda:12.8.0-cudnn-devel-ubuntu24.04 |
2 | 2 |
|
3 | 3 | SHELL ["/bin/bash", "-c"] |
4 | 4 |
|
5 | 5 | WORKDIR /accel-sim |
6 | 6 | ADD . /accel-sim |
7 | 7 |
|
8 | | -ENV CUDA_INSTALL_PATH /usr/local/cuda-11.7 |
9 | | -ENV PTXAS_CUDA_INSTALL_PATH /usr/local/cuda-11.7 |
10 | | -ENV GPUAPPS_ROOT /accel-sim/gpu-app-collection |
| 8 | +ENV CUDA_INSTALL_PATH=/usr/local/cuda |
| 9 | +ENV PTXAS_CUDA_INSTALL_PATH=/usr/local/cuda |
| 10 | +#ENV GPUAPPS_ROOT /accel-sim/gpu-app-collection |
11 | 11 |
|
12 | | -RUN apt-get update \ |
13 | | -&& apt-get install -y wget build-essential xutils-dev bison zlib1g-dev flex \ |
| 12 | +RUN apt-get update |
| 13 | +RUN apt-get install -y wget build-essential xutils-dev bison zlib1g-dev flex \ |
14 | 14 | libglu1-mesa-dev git g++ libssl-dev libxml2-dev libboost-all-dev git g++ \ |
15 | | - libxml2-dev vim python-setuptools python3-pip cmake \ |
16 | | -&& apt-get clean \ |
17 | | -&& pip3 install pyyaml plotly psutil \ |
18 | | -&& wget https://developer.download.nvidia.com/compute/cuda/11.7.0/local_installers/cuda_11.7.0_515.43.04_linux.run \ |
19 | | -&& sh cuda_11.7.0_515.43.04_linux.run --silent --toolkit \ |
20 | | -&& rm cuda_11.7.0_515.43.04_linux.run \ |
21 | | -&& rm -rf /usr/local/cuda-11.7/nsight-compute-2022.2.0 \ |
22 | | -&& rm -rf /usr/local/cuda-11.7/nsight-systems-2022.1.3 |
| 15 | + libxml2-dev vim python3-setuptools python3-pip python3-venv cmake \ |
| 16 | + libfreeimage3 libfreeimage-dev |
| 17 | +RUN apt-get clean |
| 18 | + |
| 19 | +# Create and activate a virtual environment, venv is needed because of PEP 668 |
| 20 | +RUN python3 -m venv /venv |
| 21 | +ENV PATH="/venv/bin:$PATH" |
| 22 | +RUN pip3 install --upgrade pip |
| 23 | +RUN pip3 install pyyaml plotly psutil |
23 | 24 |
|
24 | | -RUN export PATH=$CUDA_INSTALL_PATH/bin:$PATH \ |
25 | | -&& git clone https://github.com/accel-sim/gpu-app-collection \ |
26 | | -&& source ./gpu-app-collection/src/setup_environment \ |
27 | | -&& make -j -C ./gpu-app-collection/src rodinia_2.0-ft \ |
28 | | -&& make -j -C ./gpu-app-collection/src GPU_Microbenchmark \ |
29 | | -&& make -j -C ./gpu-app-collection/src data \ |
30 | | -&& rm gpucomputingsdk_4.2.9_linux.run \ |
31 | | -&& rm -rf 4.2 |
0 commit comments