annotate tool_dependencies.xml @ 62:f9c068c8a80a

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