From c0b44f561f3bf0d31c62021621f4b24ebced7c9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20W=C3=B3jtowicz?= Date: Fri, 29 Apr 2016 22:24:51 +0200 Subject: [PATCH] disabled cpu throttling; added dependencies for CUDA --- install-env.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/install-env.sh b/install-env.sh index f34f05f..a7712d0 100644 --- a/install-env.sh +++ b/install-env.sh @@ -8,7 +8,10 @@ apt-get update DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" upgrade # install new packages for R -apt-get -y install build-essential gfortran ed htop libxml2-dev ca-certificates curl libcurl4-openssl-dev gdebi-core sshpass git +apt-get -y install build-essential gfortran ed htop libxml2-dev ca-certificates curl libcurl4-openssl-dev gdebi-core sshpass git cpufrequtils + +# disable CPU throttling for ATLAS multi-threading +echo performance | tee /sys/devices/system/cpu/cpu**/cpufreq/scaling_governor # hack with Microsoft R Open deps wget ${WGET_OPTIONS} http://ftp.pl.debian.org/debian/pool/main/libj/libjpeg8/libjpeg8_8d1-2_amd64.deb @@ -99,8 +102,6 @@ apt-get -y purge libopenblas-base # - multi-threaded # ############################################################## -# disable CPU throttling! - mkdir /opt/blap-lib/atlas-mt/ curl -L https://sourceforge.net/projects/math-atlas/files/Developer%20%28unstable%29/3.11.38/atlas3.11.38.tar.bz2/download > atlas3.11.38.tar.bz2 @@ -204,6 +205,12 @@ git clone https://github.com/clMathLibraries/clBLAS.git # - CUDA # ############################################################## +# Ubuntu dependencies +wget ${WGET_OPTIONS} http://de.archive.ubuntu.com/ubuntu/pool/main/x/x-kit/python3-xkit_0.5.0ubuntu2_all.deb +wget ${WGET_OPTIONS} http://de.archive.ubuntu.com/ubuntu/pool/main/s/screen-resolution-extra/screen-resolution-extra_0.17.1_all.deb +gdebi -n python3-xkit_0.5.0ubuntu2_all.deb +gdebi -n screen-resolution-extra_0.17.1_all.deb + wget ${WGET_OPTIONS} http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda-repo-ubuntu1504-7-5-local_7.5-18_amd64.deb gdebi -n cuda-repo-ubuntu1504-7-5-local_7.5-18_amd64.deb rm cuda-repo-ubuntu1504-7-5-local_7.5-18_amd64.deb