Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| orca [2016/03/29 14:50] – créée admin | orca [2016/04/28 07:33] (Version actuelle) – [Example of SGE script] admin | ||
|---|---|---|---|
| Ligne 4: | Ligne 4: | ||
| ===== Installed version ===== | ===== Installed version ===== | ||
| - | * 3.0.0 sequential version | + | * 3.0.2 sequential version |
| - | * 3.0.0 parallel version with MPI (Open MPI) | + | * 3.0.2 parallel version with MPI (Open MPI) |
| - | ===== Sequential | + | ===== Sequential |
| + | Example of SGE script to use: | ||
| <file bash orca_seq.sge> | <file bash orca_seq.sge> | ||
| - | #!/bin/bash | + | #!/bin/bash |
| - | #$ -V | + | |
| + | #$ -q all.q | ||
| #$ -N orca | #$ -N orca | ||
| - | #$ -cwd | ||
| #$ -o $JOB_NAME.$JOB_ID.out | #$ -o $JOB_NAME.$JOB_ID.out | ||
| - | #$ -e $JOB_NAME.$JOB_ID.err | + | #$ -l h_vmem=4G |
| - | module load orca/seq/3.0.0 | + | module load orca/3.0.2 |
| orca MyMol.inp > MyMol.out | orca MyMol.inp > MyMol.out | ||
| Ligne 25: | Ligne 26: | ||
| </ | </ | ||
| - | ===== Parallel MPI SGE script ===== | ||
| + | ===== Parallel version ===== | ||
| + | |||
| + | ==== Running ORCA in parallel ==== | ||
| + | |||
| + | <note important> | ||
| + | |||
| + | Use the !PalX keyword in the inputfile to tell ORCA to start multiple processes. E.g. to start a 4-process job, the input file might look like this: | ||
| + | <code bash> | ||
| + | ! BP86 def2-SVP def2-SVP/J Opt PAL4 | ||
| + | </ | ||
| + | |||
| + | or using block input: | ||
| + | <code bash> | ||
| + | ! BP86 def2-SVP def2-SVP/J Opt | ||
| + | %pal | ||
| + | nprocs 4 | ||
| + | end | ||
| + | </ | ||
| + | <note important> | ||
| + | |||
| + | |||
| + | ==== 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 | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | </ | ||