From 29cdb92f59307f1d088c6d5823e69cc6f24b75d3 Mon Sep 17 00:00:00 2001 From: Sergey Klevtsov Date: Sun, 6 Sep 2020 00:11:54 -0700 Subject: [PATCH] Trying to fix Trilinos-CUDA build problems: 1) Disable package auto-upgrade for libcublas; 2) Increase core count to 3 --- docker/configure_tpl_build.sh | 2 +- docker/gcc-cuda/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/configure_tpl_build.sh b/docker/configure_tpl_build.sh index 29df0a64..1ead6859 100755 --- a/docker/configure_tpl_build.sh +++ b/docker/configure_tpl_build.sh @@ -23,7 +23,7 @@ python ${TPL_SRC_DIR}/scripts/config-build.py \ --buildtype Release \ --buildpath ${TPL_BUILD_DIR} \ --installpath ${GEOSX_TPL_DIR} \ - -DTRILINOS_NUM_PROC=2 \ + -DTRILINOS_NUM_PROC=3 \ -DNUM_PROC=$(nproc) \ $* # Note that since docker is not used for mac,\ diff --git a/docker/gcc-cuda/Dockerfile b/docker/gcc-cuda/Dockerfile index a3c06339..abdf8774 100644 --- a/docker/gcc-cuda/Dockerfile +++ b/docker/gcc-cuda/Dockerfile @@ -36,7 +36,7 @@ ENV NVIDIA_REQUIRE_CUDA "cuda>=10.1 brand=tesla,driver>=384,driver<385 brand=tes FROM nvidia-base AS nvidia-runtime -RUN yum install -y \ +RUN yum install -y --setopt=obsoletes=0 \ cuda-libraries-$CUDA_PKG_VERSION \ cuda-nvtx-$CUDA_PKG_VERSION \ libcublas10-10.2.1.243-1 \ @@ -46,7 +46,7 @@ RUN yum install -y \ FROM nvidia-runtime AS nvidia-develop -RUN yum install -y \ +RUN yum install -y --setopt=obsoletes=0 \ cuda-nvml-dev-$CUDA_PKG_VERSION \ cuda-command-line-tools-$CUDA_PKG_VERSION \ cuda-libraries-dev-$CUDA_PKG_VERSION \