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/31 07:47] – [Example of SGE script] admin | orca [2016/04/28 07:33] (Version actuelle) – [Example of SGE script] admin | ||
|---|---|---|---|
| Ligne 61: | Ligne 61: | ||
| #$ -q parallel.q | #$ -q parallel.q | ||
| - | #$ -pe mpi 16 | + | #$ -pe mpi 16 |
| + | |||
| #$ -N orca_mpi | #$ -N orca_mpi | ||
| #$ -o $JOB_NAME.$JOB_ID.out | #$ -o $JOB_NAME.$JOB_ID.out | ||
| #$ -l h_vmem=4G | #$ -l h_vmem=4G | ||
| - | + | ||
| module load orca/3.0.2 | module load orca/3.0.2 | ||
| - | ${ORCA_HOME}/ | + | ## 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 | ||