Console Output
+ docker build -t 518f5801373a67234e0da669e62107ba9363b8a6 --build-arg BASE=nvidia/cuda:11.0.3-devel-ubuntu18.04 --build-arg KOKKOS_VERSION=4.3.00 --build-arg KOKKOS_OPTIONS=-DCMAKE_CXX_EXTENSIONS=OFF -DCMAKE_CXX_COMPILER=clang++ -DKokkos_ENABLE_THREADS=ON -DKokkos_ENABLE_CUDA=ON -DKokkos_ARCH_VOLTA70=ON -DCMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu -f docker/Dockerfile docker
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Sending build context to Docker daemon 25.09kB
Step 1/25 : ARG BASE=nvidia/cuda:11.0.3-devel-ubuntu18.04
Step 2/25 : FROM $BASE
---> a557740b9093
Step 3/25 : ARG NPROCS=4
---> Using cache
---> 8d042c366e27
Step 4/25 : RUN if test ${NV_CUDA_LIB_VERSION}; then apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub; fi
---> Using cache
---> cd29b1422c28
Step 5/25 : RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq build-essential bc curl git wget jq vim lcov ccache gdb ninja-build libbz2-dev libicu-dev python-dev autotools-dev && apt-get clean && rm -rf /var/lib/apt/lists/*
---> Using cache
---> 427bee26a6f3
Step 6/25 : RUN KEYDUMP_URL=https://cloud.cees.ornl.gov/download && KEYDUMP_FILE=keydump && wget --quiet ${KEYDUMP_URL}/${KEYDUMP_FILE} && wget --quiet ${KEYDUMP_URL}/${KEYDUMP_FILE}.sig && gpg --import ${KEYDUMP_FILE} && gpg --verify ${KEYDUMP_FILE}.sig ${KEYDUMP_FILE} && rm ${KEYDUMP_FILE}*
---> Using cache
---> a05033590565
Step 7/25 : ENV CMAKE_DIR=/opt/cmake
---> Using cache
---> 4f10a6ad20a5
Step 8/25 : RUN CMAKE_VERSION=3.16.9 && CMAKE_KEY=2D2CEF1034921684 && CMAKE_URL=https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION} && CMAKE_SCRIPT=cmake-${CMAKE_VERSION}-Linux-x86_64.sh && CMAKE_SHA256=cmake-${CMAKE_VERSION}-SHA-256.txt && wget --quiet ${CMAKE_URL}/${CMAKE_SHA256} && wget --quiet ${CMAKE_URL}/${CMAKE_SHA256}.asc && wget --quiet ${CMAKE_URL}/${CMAKE_SCRIPT} && gpg --verify ${CMAKE_SHA256}.asc ${CMAKE_SHA256} && grep -i ${CMAKE_SCRIPT} ${CMAKE_SHA256} | sed -e s/linux/Linux/ | sha256sum --check && mkdir -p ${CMAKE_DIR} && sh ${CMAKE_SCRIPT} --skip-license --prefix=${CMAKE_DIR} && rm cmake*
---> Using cache
---> 6b437645c80e
Step 9/25 : ENV PATH=${CMAKE_DIR}/bin:$PATH
---> Using cache
---> 02b57ae7f2b9
Step 10/25 : ENV LLVM_DIR=/opt/llvm
---> Using cache
---> 5086804d0dad
Step 11/25 : RUN LLVM_VERSION=14.0.0 && LLVM_KEY="86419D8A 345AD05D" && LLVM_URL=https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VERSION}/clang+llvm-${LLVM_VERSION}-x86_64-linux-gnu-ubuntu-18.04.tar.xz && LLVM_ARCHIVE=llvm-${LLVM_VERSION}.tar.xz && SCRATCH_DIR=/scratch && mkdir -p ${SCRATCH_DIR} && cd ${SCRATCH_DIR} && wget --quiet ${LLVM_URL} --output-document=${LLVM_ARCHIVE} && wget --quiet ${LLVM_URL}.sig --output-document=${LLVM_ARCHIVE}.sig && gpg --verify ${LLVM_ARCHIVE}.sig ${LLVM_ARCHIVE} && mkdir -p ${LLVM_DIR} && tar -xvf ${LLVM_ARCHIVE} -C ${LLVM_DIR} --strip-components=1 && echo "${LLVM_DIR}/lib" > /etc/ld.so.conf.d/llvm.conf && ldconfig && rm -rf ${SCRATCH_DIR}
---> Using cache
---> 2e549d56652e
Step 12/25 : ENV PATH=${LLVM_DIR}/bin:$PATH
---> Using cache
---> 7ec5be4427c7
Step 13/25 : ARG CUDA_AWARE_MPI
---> Using cache
---> d8df01ca2c40
Step 14/25 : ENV OPENMPI_DIR=/opt/openmpi
---> Using cache
---> 67ad599e6c18
Step 15/25 : RUN OPENMPI_VERSION=4.1.3 && OPENMPI_VERSION_SHORT=$(echo "$OPENMPI_VERSION" | cut -d. -f1,2) && OPENMPI_SHA1=be3ebb8df076677889198b73b0b033b956c3d88b && OPENMPI_URL=https://download.open-mpi.org/release/open-mpi/v${OPENMPI_VERSION_SHORT}/openmpi-${OPENMPI_VERSION}.tar.bz2 && OPENMPI_ARCHIVE=openmpi-${OPENMPI_VERSION}.tar.bz2 && CUDA_OPTIONS=${CUDA_AWARE_MPI:+--with-cuda} && SCRATCH_DIR=/scratch && mkdir -p ${SCRATCH_DIR} && cd ${SCRATCH_DIR} && wget --quiet ${OPENMPI_URL} --output-document=${OPENMPI_ARCHIVE} && echo "${OPENMPI_SHA1} ${OPENMPI_ARCHIVE}" | sha1sum -c && mkdir -p openmpi && tar -xf ${OPENMPI_ARCHIVE} -C openmpi --strip-components=1 && mkdir -p build && cd build && ../openmpi/configure --prefix=${OPENMPI_DIR} ${CUDA_OPTIONS} CFLAGS=-w && make -j${NPROCS} install && rm -rf ${SCRATCH_DIR}
---> Using cache
---> 7b1945447516
Step 16/25 : ENV PATH=${OPENMPI_DIR}/bin:$PATH
---> Using cache
---> 7e4b45632d66
Step 17/25 : ENV BOOST_DIR=/opt/boost
---> Using cache
---> 9964a1ab5e3a
Step 18/25 : RUN BOOST_VERSION=1.75.0 && BOOST_VERSION_UNDERSCORE=$(echo "$BOOST_VERSION" | sed -e "s/\./_/g") && BOOST_KEY=379CE192D401AB61 && BOOST_URL=https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION}/source && BOOST_ARCHIVE=boost_${BOOST_VERSION_UNDERSCORE}.tar.bz2 && SCRATCH_DIR=/scratch && mkdir -p ${SCRATCH_DIR} && cd ${SCRATCH_DIR} && wget --quiet ${BOOST_URL}/${BOOST_ARCHIVE} && wget --quiet ${BOOST_URL}/${BOOST_ARCHIVE}.asc && wget --quiet ${BOOST_URL}/${BOOST_ARCHIVE}.json && wget --quiet ${BOOST_URL}/${BOOST_ARCHIVE}.json.asc && gpg --verify ${BOOST_ARCHIVE}.json.asc ${BOOST_ARCHIVE}.json && gpg --verify ${BOOST_ARCHIVE}.asc ${BOOST_ARCHIVE} && cat ${BOOST_ARCHIVE}.json | jq -r '. | .sha256 + " " + .file' | sha256sum --check && mkdir -p boost && tar -xf ${BOOST_ARCHIVE} -C boost --strip-components=1 && cd boost && CXXFLAGS="-w" ./bootstrap.sh --prefix=${BOOST_DIR} && echo "using mpi ;" >> project-config.jam && ./b2 -j${NPROCS} hardcode-dll-paths=true dll-path=${BOOST_DIR}/lib link=shared variant=release cxxflags=-w install && rm -rf ${SCRATCH_DIR}
---> Using cache
---> 3dcf2af89e3d
Step 19/25 : ENV BENCHMARK_DIR=/opt/benchmark
---> Using cache
---> f052b2352541
Step 20/25 : RUN SCRATCH_DIR=/scratch && mkdir -p ${SCRATCH_DIR} && cd ${SCRATCH_DIR} && git clone https://github.com/google/benchmark.git -b v1.6.1 && cd benchmark && mkdir build && cd build && cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=${BENCHMARK_DIR} -D BENCHMARK_ENABLE_TESTING=OFF .. && make -j${NPROCS} && make install && rm -rf ${SCRATCH_DIR}
---> Using cache
---> 3856afcb3a44
Step 21/25 : ENV LD_LIBRARY_PATH=/usr/local/cuda/targets/x86_64-linux/lib:${LD_LIBRARY_PATH}
---> Using cache
---> 60a36e408542
Step 22/25 : ARG KOKKOS_VERSION=4.3.00
---> Using cache
---> 236b6591f87d
Step 23/25 : ARG KOKKOS_OPTIONS="-DKokkos_ENABLE_SERIAL=ON -DKokkos_ENABLE_OPENMP=ON -DKokkos_ENABLE_CUDA=ON"
---> Using cache
---> dbb4ffcc3b9f
Step 24/25 : ENV KOKKOS_DIR=/opt/kokkos
---> Using cache
---> a40cde549184
Step 25/25 : RUN KOKKOS_URL=https://github.com/kokkos/kokkos/archive/${KOKKOS_VERSION}.tar.gz && KOKKOS_ARCHIVE=kokkos-${KOKKOS_HASH}.tar.gz && SCRATCH_DIR=/scratch && mkdir -p ${SCRATCH_DIR} && cd ${SCRATCH_DIR} && wget --quiet ${KOKKOS_URL} --output-document=${KOKKOS_ARCHIVE} && mkdir -p kokkos && tar -xf ${KOKKOS_ARCHIVE} -C kokkos --strip-components=1 && cd kokkos && mkdir -p build && cd build && cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=${KOKKOS_DIR} -D CMAKE_CXX_COMPILER=/scratch/kokkos/bin/nvcc_wrapper ${KOKKOS_OPTIONS} .. && make -j${NPROCS} install && rm -rf ${SCRATCH_DIR}
---> Using cache
---> 4089a6d2ec15
Successfully built 4089a6d2ec15
Successfully tagged 518f5801373a67234e0da669e62107ba9363b8a6:latest