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/30 11:20] – admin | orca [2016/04/28 07:33] (Version actuelle) – [Example of SGE script] admin | ||
|---|---|---|---|
| Ligne 54: | Ligne 54: | ||
| * When using parallel.q queue the allowed number of processors to use are: 16,32 or 64 | * 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 | * 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 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)/orca MyMol.inp > MyMol.out | + | ## 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 | ||