# HG changeset patch # User bgruening # Date 1421997874 18000 # Node ID d5b1c7875b7bef4f390ed7eb1bd5a220d8d2c088 # Parent 196caf0a85e93f337add803ae3e9a801486e9d4b Uploaded diff -r 196caf0a85e9 -r d5b1c7875b7b tool_dependencies.xml --- a/tool_dependencies.xml Fri Sep 20 16:23:34 2013 -0400 +++ b/tool_dependencies.xml Fri Jan 23 02:24:34 2015 -0500 @@ -1,46 +1,61 @@ - + - - - - http://downloads.sourceforge.net/project/math-atlas/Stable/3.10.1/atlas3.10.1.tar.bz2 - tar -jxvf atlas3.10.1.tar.bz2 - http://www.netlib.org/lapack/lapack-3.4.2.tgz - - - # 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 && - pwd > $INSTALL_DIR/pwd.txt && - ls -l > $INSTALL_DIR/ls.txt && - ls -l CONFIG/src/ > $INSTALL_DIR/ls2.txt && - - 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 && - make && make install - - - - $INSTALL_DIR/atlas/lib - $INSTALL_DIR/atlas/include - - + + + https://depot.galaxyproject.org/package/linux/x86_64/atlas/atlas-3.10.2-Linux-x86_64.tar.gz + + . + $INSTALL_DIR + + + $INSTALL_DIR/lib + $INSTALL_DIR/include + $INSTALL_DIR/lib/atlas + $INSTALL_DIR/lib/atlas + $INSTALL_DIR + $INSTALL_DIR/lib + + + + + + + http://downloads.sourceforge.net/project/math-atlas/Stable/3.10.2/atlas3.10.2.tar.bz2 + http://www.netlib.org/lapack/lapack-3.5.0.tgz + https://depot.galaxyproject.org/patch/atlas/static_full_blas_lapack.diff + https://depot.galaxyproject.org/patch/atlas/shared_libraries.diff + https://depot.galaxyproject.org/patch/atlas/cpu-throttling-check.diff + tar -jxvf atlas3.10.2.tar.bz2 + + + cd ATLAS && + mkdir ATLAS/build && + patch -p1 </host/static_full_blas_lapack.diff && + patch -p1 </host/shared_libraries.diff && + patch -p1 </host/cpu-throttling-check.diff && + cd build && + ../configure --prefix="$INSTALL_DIR" -D c -DWALL -b 64 -Fa alg '-fPIC' --with-netlib-lapack-tarfile=../../lapack-3.5.0.tgz -v 2 -t 0 -Si cputhrchk 0 && + make && + make install + + + $INSTALL_DIR/lib + $INSTALL_DIR/include + $INSTALL_DIR/lib/atlas + $INSTALL_DIR/lib/atlas + $INSTALL_DIR + $INSTALL_DIR/lib + + + - 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"). + Compiling ATLAS requires a C and Fortran compiler (typically gcc and gfortran). The base ATLAS installation path can be is exported as ATLAS_ROOT_PATH, libraries as ATLAS_LIB_DIR, and headers as ATLAS_INCLUDE_DIR. + This ATLAS build includes patches from the Debian ATLAS packages which enable additional features: + 1. Shared versions of the standard ATLAS libraries are built in addition to the static versions + 2. Full BLAS and LAPACK libraries are built, which can be found in the ATLAS_BLAS_LIB_DIR and ATLAS_LAPACK_LIB_DIR directories + This package also includes a bundled libgfortran and export LD_LIBRARY_PATH=$ATLAS_LIB_DIR so that any dependent packages which link to ATLAS will be able to resolve all necessary libraries at runtime. + On Mac OS X, this package is a dummy package - BLAS and LAPACK libraries are already provided in Apple's vecLib.