root / examples / Gaussian / SN2_zmat / run_Path
Historique | Voir | Annoter | Télécharger (1,14 ko)
| 1 | 1 | pfleura2 | #!/bin/bash |
|---|---|---|---|
| 2 | 1 | pfleura2 | |
| 3 | 1 | pfleura2 | ###################################### |
| 4 | 1 | pfleura2 | # |
| 5 | 1 | pfleura2 | # you might have to change the following variables |
| 6 | 1 | pfleura2 | # |
| 7 | 1 | pfleura2 | ###################################### |
| 8 | 1 | pfleura2 | # |
| 9 | 1 | pfleura2 | # Name of the input file |
| 10 | 1 | pfleura2 | # |
| 11 | 1 | pfleura2 | Job=SN2_zmat |
| 12 | 1 | pfleura2 | # |
| 13 | 1 | pfleura2 | # Where is Path.exe ?? |
| 14 | 1 | pfleura2 | # |
| 15 | 12 | pfleura2 | PathExe=../../../src/Path.exe |
| 16 | 1 | pfleura2 | # |
| 17 | 1 | pfleura2 | ### Gaussian Stuff |
| 18 | 1 | pfleura2 | # Change the path for g09root !!! |
| 19 | 12 | pfleura2 | export g09root=/home/pfleura2/Programs/G09 |
| 20 | 1 | pfleura2 | export GAUSS_SCRDIR=/tmp |
| 21 | 1 | pfleura2 | source $g09root/g09/bsd/g09.profile |
| 22 | 1 | pfleura2 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/lib/ |
| 23 | 1 | pfleura2 | # |
| 24 | 1 | pfleura2 | # Some libraries... |
| 25 | 1 | pfleura2 | # |
| 26 | 1 | 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 |
| 27 | 1 | 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 |
| 28 | 1 | pfleura2 | export LD_RUN_PATH=$LD_RUN_PATH:/opt/intel/fc/9.1.037/lib/:/opt/intel/cc/9.1.045/lib |
| 29 | 1 | pfleura2 | export MANPATH=$MANPATH:/opt/intel/fc/9.1.037/man/:/opt/intel/cc/9.1.045/man |
| 30 | 1 | pfleura2 | export LANG=C |
| 31 | 1 | pfleura2 | # |
| 32 | 1 | pfleura2 | #Usually nothing has to be changed after this line |
| 33 | 1 | pfleura2 | # |
| 34 | 1 | pfleura2 | ################################################# |
| 35 | 1 | pfleura2 | |
| 36 | 1 | pfleura2 | ############################### |
| 37 | 1 | pfleura2 | # |
| 38 | 1 | pfleura2 | # We launch PATH |
| 39 | 1 | pfleura2 | # |
| 40 | 1 | pfleura2 | ############################### |
| 41 | 1 | pfleura2 | ln -fs ${PathExe} .
|
| 42 | 1 | pfleura2 | |
| 43 | 12 | pfleura2 | ./Path.exe ${Job}.path > ${Job}.out 2> ${Job}.err
|
| 44 | 1 | pfleura2 | |
| 45 | 1 | pfleura2 |