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:15] – [Running ORCA in parallel] admin | orca [2016/04/28 07:33] (Version actuelle) – [Example of SGE script] admin | ||
|---|---|---|---|
| Ligne 50: | Ligne 50: | ||
| ==== 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> | <file bash orca_MPI.sge> | ||
| Ligne 56: | 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.0 | ||
| - | $(ORCA_HOME)/orca MyMol.inp > MyMol.out | + | |
| + | module load orca/ | ||
| + | |||
| + | ## save the cruuent directory | ||
| + | CURRENT_DIR=`pwd` | ||
| + | |||
| + | ## cp input to TMPDIR | ||
| + | cp input.txt | ||
| + | |||
| + | ## go to TMPDIR | ||
| + | cd $TMPDIR | ||
| + | |||
| + | ## Run it | ||
| + | ${ORCA_HOME}/orca input.txt > $CURRENT_DIR/ | ||
| + | |||
| + | ## Copy back results to CURRENT_DIR | ||
| + | cp input.gbw $CURRENT_DIR | ||