Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| orca [2016/03/29 15:07] – [SGE script] admin | orca [2016/04/28 07:33] (Version actuelle) – [Example of SGE script] admin | ||
|---|---|---|---|
| Ligne 45: | Ligne 45: | ||
| end | end | ||
| </ | </ | ||
| - | The inputfile can then be run, **calling ORCA by a full path** (Important!): | + | <note important> |
| ==== Example of SGE script ==== | ==== Example of SGE script ==== | ||
| + | |||
| + | |||
| + | <note warning> | ||
| + | * When using parallel.q queue the allowed number of processors to use are: 16,32 or 64 | ||
| + | * Make sure that requested slots is equal to the number of processors in the input file | ||
| + | </ | ||
| + | |||
| + | <file bash orca_MPI.sge> | ||
| + | |||
| + | #!/bin/bash | ||
| + | |||
| + | #$ -q parallel.q | ||
| + | #$ -pe mpi 16 | ||
| + | |||
| + | #$ -N orca_mpi | ||
| + | #$ -o $JOB_NAME.$JOB_ID.out | ||
| + | #$ -l h_vmem=4G | ||
| + | |||
| + | |||
| + | module load orca/3.0.2 | ||
| + | |||
| + | ## save the cruuent directory | ||
| + | CURRENT_DIR=`pwd` | ||
| + | |||
| + | ## cp input to TMPDIR | ||
| + | cp input.txt $TMPDIR | ||
| + | |||
| + | ## go to TMPDIR | ||
| + | cd $TMPDIR | ||
| + | |||
| + | ## Run it | ||
| + | ${ORCA_HOME}/ | ||
| + | |||
| + | ## Copy back results to CURRENT_DIR | ||
| + | cp input.gbw $CURRENT_DIR | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | </ | ||
| + | |||
| ===== Links ===== | ===== Links ===== | ||
| * https:// | * https:// | ||