Statistiques
| Révision :

root / examples / Gaussian / HCN_zmat / run_Path_PBS

Historique | Voir | Annoter | Télécharger (1,3 ko)

1
#PBS -S /bin/bash
2
#PBS -N PathIsGreat
3
#PBS -l walltime=12:00:00
4
#PBS -l nodes=1:OneS
5
#PBS -q OneS
6
#PBS -j oe
7
#PBS -M pfleura2@ens-lyon.fr
8
#PBS -m aeb
9

    
10
#!/bin/bash
11

    
12
######################################
13
#
14
# you might have to change the following variables
15
#
16
######################################
17
#
18
# Name of the input file
19
#
20
Job=HCN_Gaussian
21
#
22
# Where is Path.exe ??
23
#
24
PathExe=~/Programs/optnpath/src/Path.exe
25
#
26
### Gaussian Stuff
27
# Change the path for g09root !!!
28
export g09root=/home/pfleura2/G09
29
export  GAUSS_SCRDIR=/tmp
30
source $g09root/g09/bsd/g09.profile
31
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/lib/
32
#
33
# Some libraries...
34
#
35
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
36
export PATH=/opt/intel/fc/9.1.037/bin/:/opt/intel/cc/9.1.045/bin/:$PATH:$HOME/bin:/usr/local/mpich-intel9/bin
37
export LD_RUN_PATH=$LD_RUN_PATH:/opt/intel/fc/9.1.037/lib/:/opt/intel/cc/9.1.045/lib
38
export MANPATH=$MANPATH:/opt/intel/fc/9.1.037/man/:/opt/intel/cc/9.1.045/man
39
export LANG=C
40
#
41
#Usually nothing has to be changed after this line
42
#
43
#################################################
44

    
45
cd $PBS_O_WORKDIR
46

    
47
###############################
48
#
49
# We launch PATH
50
#
51
###############################
52
ln -fs ${PathExe} .
53

    
54
./Path.exe ${Job}.path &> ${Job}.out
55

    
56

    
57