comparison tool_dependencies.xml @ 63:d507ebc3b071

Uploaded
author bgruening
date Sun, 20 Oct 2013 06:44:48 -0400
parents f9c068c8a80a
children eb0b1b83cba1
comparison
equal deleted inserted replaced
62:f9c068c8a80a 63:d507ebc3b071
1 <tool_dependency> 1 <tool_dependency>
2 <package name="atlas" version="3.10.1"> 2 <package name="qt" version="5.1">
3 <install version="1.0"> 3 <install version="1.0">
4 <actions> 4 <actions>
5 <!-- first action is always downloading --> 5 <action type="download_by_url">http://download.qt-project.org/official_releases/qt/5.1/5.1.1/single/qt-everywhere-opensource-src-5.1.1.tar.gz</action>
6 <action type="download_by_url" target_filename="ATLAS.tar.bz2">http://downloads.sourceforge.net/project/math-atlas/Stable/3.10.1/atlas3.10.1.tar.bz2</action> 6 <action type="autoconf" />
7 <!-- <action type="download_file">http://downloads.sourceforge.net/project/math-atlas/Stable/3.10.1/atlas3.10.1.tar.bz2</action> 7 <action type="set_environment">
8 <action type="shell_command">tar xfvj atlas3.10.1.tar.bz2</action>--> 8 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
9 <action type="download_file">http://www.netlib.org/lapack/lapack-3.4.2.tgz</action> 9 <environment_variable name="QT_PATH" action="set_to">$INSTALL_DIR</environment_variable>
10 10 </action>
11 <action type="shell_command">
12 # try to disable cpu throttling
13 if hash cpufreq-selector 2>/dev/null; then
14 cpufreq-selector -g performance
15 elif hash cpupower 2>/dev/null; then
16 cpupower frequency-set -g performance
17 else
18 echo 'Please deactivate CPU throttling by your own, or install cpufreq-selector'
19 exit
20 fi
21 </action>
22 <action type="shell_command">
23 mkdir build &amp;&amp;
24 cd build &amp;&amp;
25 mkdir $INSTALL_DIR/atlas/ &amp;&amp;
26 ../configure -Fa alg -fPIC --prefix=$INSTALL_DIR/atlas/ --with-netlib-lapack-tarfile=../lapack-3.4.2.tgz
27 </action>
28 <action type="shell_command">cd ./build &amp;&amp; make </action>
29 <action type="shell_command">cd ./build &amp;&amp; make install</action>
30
31 <action type="set_environment">
32 <environment_variable name="ATLAS_LIB_DIR" action="set_to">$INSTALL_DIR/atlas/lib</environment_variable>
33 <environment_variable name="ATLAS_INCLUDE_DIR" action="set_to">$INSTALL_DIR/atlas/include</environment_variable>
34 </action>
35 </actions> 11 </actions>
36 </install> 12 </install>
37 <readme>ATLAS_LIB_DIR and ATLAS_INCLUDE_DIR (including libatlas.a) will be exported for later use. 13 <readme>
38 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. 14 Installing Qt.
39 Ideally, you should compile on an empty cluster node with CPU frequency scaling disabled (see "cpufreq-selector" or "cpufreq-set"). 15 http://qt-project.org/
40 </readme> 16 </readme>
41 </package> 17 </package>
42 </tool_dependency> 18 </tool_dependency>