root / examples / Test / Zmat / run_Path @ 5
Historique | Voir | Annoter | Télécharger (1,01 ko)
1 | 5 | pfleura2 | #!/bin/bash |
---|---|---|---|
2 | 5 | pfleura2 | |
3 | 5 | pfleura2 | ###################################### |
4 | 5 | pfleura2 | # |
5 | 5 | pfleura2 | # you might have to change the following variables |
6 | 5 | pfleura2 | # |
7 | 5 | pfleura2 | ###################################### |
8 | 5 | pfleura2 | # |
9 | 5 | pfleura2 | # Name of the input file |
10 | 5 | pfleura2 | # |
11 | 5 | pfleura2 | Job=HCN_zmat |
12 | 5 | pfleura2 | # |
13 | 5 | pfleura2 | # Where is Path.exe ?? |
14 | 5 | pfleura2 | # |
15 | 5 | pfleura2 | PathExe=../../../src/Path.exe |
16 | 5 | pfleura2 | # |
17 | 5 | pfleura2 | |
18 | 5 | pfleura2 | # Some libraries... that might need to be adapted to your system |
19 | 5 | pfleura2 | # |
20 | 5 | pfleura2 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/lib/ |
21 | 5 | pfleura2 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/fc/9.1.037/lib/:/opt/intel/cc/9.1.045/lib:/usr/lib:/opt/intel/mkl/8.1/lib/32 |
22 | 5 | pfleura2 | export PATH=/opt/intel/fc/9.1.037/bin/:/opt/intel/cc/9.1.045/bin/:$PATH:$HOME/bin:/usr/local/mpich-intel9/bin |
23 | 5 | pfleura2 | export LD_RUN_PATH=$LD_RUN_PATH:/opt/intel/fc/9.1.037/lib/:/opt/intel/cc/9.1.045/lib |
24 | 5 | pfleura2 | export MANPATH=$MANPATH:/opt/intel/fc/9.1.037/man/:/opt/intel/cc/9.1.045/man |
25 | 5 | pfleura2 | export LANG=C |
26 | 5 | pfleura2 | # |
27 | 5 | pfleura2 | #Usually nothing has to be changed after this line |
28 | 5 | pfleura2 | # |
29 | 5 | pfleura2 | ################################################# |
30 | 5 | pfleura2 | |
31 | 5 | pfleura2 | ############################### |
32 | 5 | pfleura2 | # |
33 | 5 | pfleura2 | # We launch PATH |
34 | 5 | pfleura2 | # |
35 | 5 | pfleura2 | ############################### |
36 | 5 | pfleura2 | ln -fs ${PathExe} . |
37 | 5 | pfleura2 | |
38 | 5 | pfleura2 | ./Path.exe ${Job}.path &> ${Job}.out |
39 | 5 | pfleura2 | |
40 | 5 | pfleura2 |