annotate tool_dependencies.xml @ 0:597c0e54eded draft

initial upload
author iuc
date Sun, 11 Aug 2013 06:26:05 -0400
parents
children 37ff27ea37ed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
597c0e54eded initial upload
iuc
parents:
diff changeset
1 <tool_dependency>
597c0e54eded initial upload
iuc
parents:
diff changeset
2 <package name="atlas" version="3.10.1">
597c0e54eded initial upload
iuc
parents:
diff changeset
3 <install version="1.0">
597c0e54eded initial upload
iuc
parents:
diff changeset
4 <actions>
597c0e54eded initial upload
iuc
parents:
diff changeset
5 <!-- first action is always downloading -->
597c0e54eded initial upload
iuc
parents:
diff changeset
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>-->
597c0e54eded initial upload
iuc
parents:
diff changeset
7 <action type="download_file">http://downloads.sourceforge.net/project/math-atlas/Stable/3.10.1/atlas3.10.1.tar.bz2</action>
597c0e54eded initial upload
iuc
parents:
diff changeset
8 <action type="shell_command">tar xfvj atlas3.10.1.tar.bz2</action>
597c0e54eded initial upload
iuc
parents:
diff changeset
9 <action type="download_file">http://www.netlib.org/lapack/lapack-3.4.2.tgz</action>
597c0e54eded initial upload
iuc
parents:
diff changeset
10
597c0e54eded initial upload
iuc
parents:
diff changeset
11 <action type="shell_command">
597c0e54eded initial upload
iuc
parents:
diff changeset
12 # try to disable cpu throttling
597c0e54eded initial upload
iuc
parents:
diff changeset
13 if hash cpufreq-selector 2>/dev/null; then
597c0e54eded initial upload
iuc
parents:
diff changeset
14 cpufreq-selector -g performance
597c0e54eded initial upload
iuc
parents:
diff changeset
15 elif hash cpupower 2>/dev/null; then
597c0e54eded initial upload
iuc
parents:
diff changeset
16 cpupower frequency-set -g performance
597c0e54eded initial upload
iuc
parents:
diff changeset
17 else
597c0e54eded initial upload
iuc
parents:
diff changeset
18 echo 'Please deactivate CPU throttling by your own, or install cpufreq-selector'
597c0e54eded initial upload
iuc
parents:
diff changeset
19 exit
597c0e54eded initial upload
iuc
parents:
diff changeset
20 fi
597c0e54eded initial upload
iuc
parents:
diff changeset
21 </action>
597c0e54eded initial upload
iuc
parents:
diff changeset
22 <action type="shell_command">
597c0e54eded initial upload
iuc
parents:
diff changeset
23 cd ATLAS &amp;&amp;
597c0e54eded initial upload
iuc
parents:
diff changeset
24 mkdir build &amp;&amp;
597c0e54eded initial upload
iuc
parents:
diff changeset
25 cd build &amp;&amp;
597c0e54eded initial upload
iuc
parents:
diff changeset
26 mkdir $INSTALL_DIR/atlas/ &amp;&amp;
597c0e54eded initial upload
iuc
parents:
diff changeset
27 ../configure -Fa alg -fPIC --prefix=$INSTALL_DIR/atlas/ --with-netlib-lapack-tarfile=../../lapack-3.4.2.tgz
597c0e54eded initial upload
iuc
parents:
diff changeset
28 </action>
597c0e54eded initial upload
iuc
parents:
diff changeset
29 <action type="shell_command">cd ./ATLAS/build &amp;&amp; make </action>
597c0e54eded initial upload
iuc
parents:
diff changeset
30 <action type="shell_command">cd ./ATLAS/build &amp;&amp; make install</action>
597c0e54eded initial upload
iuc
parents:
diff changeset
31
597c0e54eded initial upload
iuc
parents:
diff changeset
32 <action type="set_environment">
597c0e54eded initial upload
iuc
parents:
diff changeset
33 <environment_variable name="ATLAS_LIB_DIR" action="set_to">$INSTALL_DIR/atlas/lib</environment_variable>
597c0e54eded initial upload
iuc
parents:
diff changeset
34 <environment_variable name="ATLAS_INCLUDE_DIR" action="set_to">$INSTALL_DIR/atlas/include</environment_variable>
597c0e54eded initial upload
iuc
parents:
diff changeset
35 </action>
597c0e54eded initial upload
iuc
parents:
diff changeset
36 </actions>
597c0e54eded initial upload
iuc
parents:
diff changeset
37 </install>
597c0e54eded initial upload
iuc
parents:
diff changeset
38 <readme>ATLAS_LIB_DIR and ATLAS_INCLUDE_DIR (including libatlas.a) will be exported for later use.
597c0e54eded initial upload
iuc
parents:
diff changeset
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.
597c0e54eded initial upload
iuc
parents:
diff changeset
40 Ideally, you should compile on an empty cluster node with CPU frequency scaling disabled (see "cpufreq-selector" or "cpufreq-set").
597c0e54eded initial upload
iuc
parents:
diff changeset
41 </readme>
597c0e54eded initial upload
iuc
parents:
diff changeset
42 </package>
597c0e54eded initial upload
iuc
parents:
diff changeset
43 </tool_dependency>