Skip to content

Commit 29cdb92

Browse files
committed
Trying to fix Trilinos-CUDA build problems: 1) Disable package auto-upgrade for libcublas; 2) Increase core count to 3
1 parent d1ee89f commit 29cdb92

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docker/configure_tpl_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ python ${TPL_SRC_DIR}/scripts/config-build.py \
2323
--buildtype Release \
2424
--buildpath ${TPL_BUILD_DIR} \
2525
--installpath ${GEOSX_TPL_DIR} \
26-
-DTRILINOS_NUM_PROC=2 \
26+
-DTRILINOS_NUM_PROC=3 \
2727
-DNUM_PROC=$(nproc) \
2828
$*
2929
# Note that since docker is not used for mac,\

docker/gcc-cuda/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ENV NVIDIA_REQUIRE_CUDA "cuda>=10.1 brand=tesla,driver>=384,driver<385 brand=tes
3636

3737
FROM nvidia-base AS nvidia-runtime
3838

39-
RUN yum install -y \
39+
RUN yum install -y --setopt=obsoletes=0 \
4040
cuda-libraries-$CUDA_PKG_VERSION \
4141
cuda-nvtx-$CUDA_PKG_VERSION \
4242
libcublas10-10.2.1.243-1 \
@@ -46,7 +46,7 @@ RUN yum install -y \
4646

4747
FROM nvidia-runtime AS nvidia-develop
4848

49-
RUN yum install -y \
49+
RUN yum install -y --setopt=obsoletes=0 \
5050
cuda-nvml-dev-$CUDA_PKG_VERSION \
5151
cuda-command-line-tools-$CUDA_PKG_VERSION \
5252
cuda-libraries-dev-$CUDA_PKG_VERSION \

0 commit comments

Comments
 (0)