# HG changeset patch # User bgruening # Date 1373923685 14400 # Node ID 68df9078bf69e827b628e2addfa5a7409f1f04b2 # Parent 25dc49b0d6d581240bc734539ae60a7b41e66d75 Uploaded diff -r 25dc49b0d6d5 -r 68df9078bf69 tool_dependencies.xml --- a/tool_dependencies.xml Wed May 29 17:03:56 2013 +0200 +++ b/tool_dependencies.xml Mon Jul 15 17:28:05 2013 -0400 @@ -3,17 +3,29 @@ + http://downloads.sourceforge.net/project/math-atlas/Stable/3.10.1/atlas3.10.1.tar.bz2 tar xfvj atlas3.10.1.tar.bz2 http://www.netlib.org/lapack/lapack-3.4.2.tgz - - cd ATLAS && + + + # try to disable cpu throttling + if hash cpufreq-selector 2>/dev/null; then + cpufreq-selector -g performance + elif hash cpupower 2>/dev/null; then + cpupower frequency-set -g performance + else + echo 'Please deactivate CPU throttling by your own, or install cpufreq-selector' + exit + fi + + + cd ATLAS && mkdir build && cd build && mkdir $INSTALL_DIR/atlas/ && - ../configure -Fa alg -fPIC --prefix=$INSTALL_DIR/atlas/ --with-netlib-lapack-tarfile=../../lapack-3.4.2.tgz + ../configure -Fa alg -fPIC --prefix=$INSTALL_DIR/atlas/ --with-netlib-lapack-tarfile=../../lapack-3.4.2.tgz + cd ./ATLAS/build && make cd ./ATLAS/build && make install @@ -23,7 +35,7 @@ - ATLAS_LIB_DIR and ATLAS_INCLUDE_DIR will be set (including libatlas.a). + ATLAS_LIB_DIR and ATLAS_INCLUDE_DIR (including libatlas.a) will be exported for later use. During ATLAS library compilation, ATLAS performs code efficiency checks. These checks can only provide optimal results, if "frequency scaling" is disabled on the CPU, and no other load-intense processes are running. Ideally, you should compile on an empty cluster node with CPU frequency scaling disabled (see "cpufreq-selector" or "cpufreq-set").