Commit 3cee84f2274e7eb1778675c2100b8e967a1740dc
1 parent
6852fe1e54
Exists in
master
git-svn-id: https://lxsd.femto-st.fr/svn/atlas@5 dff38a21-2163-4b57-a1b5-aae693bec1e4
Showing 1 changed file with 19 additions and 7 deletions Inline Diff
build.sh
#!/bin/bash | 1 | 1 | #!/bin/bash | |
2 | 2 | |||
echo "Mettre le processeur en mode performances (important pour atlas)" | 3 | 3 | echo "FR Mettre le processeur en mode performances (important pour atlas)" | |
echo " + sous kde clic droit sur kpowersave " | 4 | 4 | echo "FR + sous kde clic droit sur kpowersave " | |
echo " -> Définir les règles de fréquence du processeur" | 5 | 5 | echo "FR -> Définir les règles de fréquence du processeur" | |
echo " -> Performances" | 6 | 6 | echo "FR -> Performances" | |
echo " + avec les cpufrequtils en root : cpufreq-set -g performance" | 7 | 7 | echo "FR + avec les cpufrequtils en root : cpufreq-set -g performance" | |
echo | 8 | 8 | echo | |
echo "Si ce n'est pas fait tapez <Ctrl> C pour interrompre " | 9 | 9 | echo "FR Si ce n'est pas fait tapez <Ctrl> C pour interrompre " | |
echo " sinon continuez avec <Entree>" | 10 | 10 | echo "FR sinon continuez avec <Entree>" | |
11 | echo | |||
12 | echo "EN Processor must be in performance mode (important for atlas)" | |||
13 | echo "EN + under kde right-clic on kpowersave " | |||
14 | echo "EN -> Processor frequency rules" | |||
15 | echo "EN -> Performances" | |||
16 | echo "EN + with cpufrequtils under root : cpufreq-set -g performance" | |||
17 | echo | |||
18 | echo "EN If it is not the case type <Ctrl> C to interrupt now " | |||
19 | echo "EN otherwise continue with <Enter>" | |||
20 | ||||
21 | ||||
22 | ||||
11 | 23 | |||
read a | 12 | 24 | read a | |
13 | 25 | |||
# Unpack lapack archive | 14 | 26 | # Unpack lapack archive | |
echo "Archive lapack (netlib)" | 15 | 27 | echo "Archive lapack (netlib)" | |
tar xzf lapack.tgz | 16 | 28 | tar xzf lapack.tgz | |
17 | 29 | |||
# Compilation lapack | 18 | 30 | # Compilation lapack | |
cp make.inc.gfortran.lapack lapack-3.1.1/make.inc | 19 | 31 | cp make.inc.gfortran.lapack lapack-3.1.1/make.inc | |
cd lapack-3.1.1 | 20 | 32 | cd lapack-3.1.1 | |
make lapacklib | 21 | 33 | make lapacklib | |
cd .. | 22 | 34 | cd .. | |
23 | 35 | |||
# Unpack atlas archive | 24 | 36 | # Unpack atlas archive | |
echo "Archive atlas" | 25 | 37 | echo "Archive atlas" | |
tar xjf atlas3.8.2.tar.bz2 | 26 | 38 | tar xjf atlas3.8.2.tar.bz2 | |
cd ATLAS | 27 | 39 | cd ATLAS | |
mkdir build | 28 | 40 | mkdir build | |
mkdir install | 29 | 41 | mkdir install | |
cd build | 30 | 42 | cd build | |
../configure --prefix=../install --with-netlib-lapack=../../lapack-3.1.1/lapack_LINUX.a | 31 | 43 | ../configure --prefix=../install --with-netlib-lapack=../../lapack-3.1.1/lapack_LINUX.a | |
make | 32 | 44 | make | |
make install | 33 | 45 | make install | |
34 | 46 | |||
35 | 47 |