# HG changeset patch # User bgruening # Date 1379673004 14400 # Node ID f9c068c8a80aee38970ec7d3eb5938031d6a774f # Parent 797c3e35858847a2f213b17c01e20d4a8b223025 Uploaded diff -r 797c3e358588 -r f9c068c8a80a tool_dependencies.xml --- a/tool_dependencies.xml Mon Aug 26 17:14:20 2013 -0400 +++ b/tool_dependencies.xml Fri Sep 20 06:30:04 2013 -0400 @@ -1,36 +1,42 @@ - - + + + http://downloads.sourceforge.net/project/math-atlas/Stable/3.10.1/atlas3.10.1.tar.bz2 + + http://www.netlib.org/lapack/lapack-3.4.2.tgz - - ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-x64-linux.tar.gz - ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-ia32-linux.tar.gz - ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-ia32-linux.tar.gz - ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-universal-macosx.tar.gz - ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-universal-macosx.tar.gz - ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.26/ncbi-blast-2.2.26+-universal-macosx.tar.gz - + + # 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 + + + 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 + + cd ./build && make + cd ./build && make install - - tar -zxvf $INSTALL_DIR/ncbi-blast-2.2.26+-x64-linux.tar.gz ; - tar -zxvf $INSTALL_DIR/ncbi-blast-2.2.26+-ia32-linux.tar.gz ; - tar -zxvf $INSTALL_DIR/ncbi-blast-2.2.26+-universal-macosx.tar.gz ; - - $INSTALL_DIR + $INSTALL_DIR/atlas/lib + $INSTALL_DIR/atlas/include - -Downloads the precompiled 32bit Linux, 64bit Linux, or Mac OS X BLAST+ -binaries from the NCBI, which is faster than performing a local compliation, -avoids any issues with build dependencies, and is more reproducible between -installations as there is no variability from the compiler or library versions. - -For more details, see: -http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&PAGE_TYPE=BlastDocs&DOC_TYPE=Download + 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").