Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
orca [2016/03/29 14:50] – créée adminorca [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 SGE script =====+===== Sequential version =====
  
 +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:
 </file> </file>
  
-===== Parallel MPI SGE script ===== 
  
 +===== Parallel version =====
 +
 +==== Running ORCA in parallel ====
 +
 +<note important>Note that when running ORCA in parallel, ORCA should NOT be started with mpirun: e.g. mpirun -np 4 orca etc. ORCA takes care of communicating with the OpenMPI interface on its own when needed (as long as the OpenMPI binaries and libraries are made available).</note>
 +
 +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
 +</code>
 +
 +or using block input:
 +<code bash>
 +! BP86 def2-SVP def2-SVP/J Opt
 +%pal
 +nprocs 4
 +end
 +</code>
 +<note important>The inputfile can then be run, **calling ORCA by a full path** (Important!)</note>
 +
 +
 +==== 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
 + </note>
 +
 +<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}/orca input.txt > $CURRENT_DIR/output.out
 +
 +## Copy back results to CURRENT_DIR
 +cp input.gbw $CURRENT_DIR
 +
 +
 +
 +
 +</file>
  
  
  • orca.1459263041.txt.gz
  • Dernière modification : 2016/03/29 14:50
  • de admin