comparison tool_dependencies.xml @ 0:597c0e54eded draft

initial upload
author iuc
date Sun, 11 Aug 2013 06:26:05 -0400
parents
children 37ff27ea37ed
comparison
equal deleted inserted replaced
-1:000000000000 0:597c0e54eded
1 <tool_dependency>
2 <package name="atlas" version="3.10.1">
3 <install version="1.0">
4 <actions>
5 <!-- first action is always downloading -->
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>-->
7 <action type="download_file">http://downloads.sourceforge.net/project/math-atlas/Stable/3.10.1/atlas3.10.1.tar.bz2</action>
8 <action type="shell_command">tar xfvj atlas3.10.1.tar.bz2</action>
9 <action type="download_file">http://www.netlib.org/lapack/lapack-3.4.2.tgz</action>
10
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 cd ATLAS &amp;&amp;
24 mkdir build &amp;&amp;
25 cd build &amp;&amp;
26 mkdir $INSTALL_DIR/atlas/ &amp;&amp;
27 ../configure -Fa alg -fPIC --prefix=$INSTALL_DIR/atlas/ --with-netlib-lapack-tarfile=../../lapack-3.4.2.tgz
28 </action>
29 <action type="shell_command">cd ./ATLAS/build &amp;&amp; make </action>
30 <action type="shell_command">cd ./ATLAS/build &amp;&amp; make install</action>
31
32 <action type="set_environment">
33 <environment_variable name="ATLAS_LIB_DIR" action="set_to">$INSTALL_DIR/atlas/lib</environment_variable>
34 <environment_variable name="ATLAS_INCLUDE_DIR" action="set_to">$INSTALL_DIR/atlas/include</environment_variable>
35 </action>
36 </actions>
37 </install>
38 <readme>ATLAS_LIB_DIR and ATLAS_INCLUDE_DIR (including libatlas.a) will be exported for later use.
39 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.
40 Ideally, you should compile on an empty cluster node with CPU frequency scaling disabled (see "cpufreq-selector" or "cpufreq-set").
41 </readme>
42 </package>
43 </tool_dependency>