Skip to content
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.

Commit

Permalink
fix typo, tweak order
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Mar 9, 2019
1 parent 0209e4f commit f273749
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cuda/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,12 @@ RUN echo "rsession-ld-library-path=$LD_LIBRARY_PATH" | tee -a /etc/rstudio/rserv
\nCUDA_HOME=$CUDA_HOME \
\nCUDA_PATH=$CUDA_PATH \
\nPATH=$PATH" >> /usr/local/lib/R/etc/Renviron
RUN echo "NVBLAS_LOGFILE nvblas.log \
\nNVBLAS_CPU_BLAS_LIB /usr/lib/libopenblas.so \
\nNVBLAS_GPU_LIST ALL" > /etc/nvblas.conf

## Allow R to use CUDA for BLAS, with fallback on openblas
ENV LD_PRELOAD=/usr/local/cuda/lib64/libnvblas.so.$CUDA_VERSION
ENV NVBLAS_LOGFILE=/var/log/nvblas.log
ENV NVBLAS_CONFIG_FILE=/etc/nvblas.conf
RUN echo "NVBLAS_LOGFILE nvblas.log \
\nNVBLAS_CPU_BLAS_LIB /usr/lib/libopenblas.so
\nNVBLAS_GPU_LIST ALL" > /etc/nvblas.conf
ENV LD_PRELOAD=/usr/local/cuda/lib64/libnvblas.so.$CUDA_VERSION

0 comments on commit f273749

Please sign in to comment.