Différences

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

Lien vers cette vue comparative

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:05] – [Sequential SGE script] adminorca [2016/04/28 07:33] (Version actuelle) – [Example of SGE script] admin
Ligne 7: Ligne 7:
   * 3.0.2 parallel version with MPI (Open MPI)   * 3.0.2 parallel version with MPI (Open MPI)
  
-===== Sequential =====+===== Sequential version =====
  
 Example of SGE script to use: Example of SGE script to use:
Ligne 27: Ligne 27:
  
  
-===== Parallel MPI SGE script =====+===== Parallel version =====
  
 ==== Running ORCA in parallel ==== ==== Running ORCA in parallel ====
Ligne 45: Ligne 45:
 end end
 </code> </code>
-The inputfile can then be run, **calling ORCA by a full path** (Important!):+<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> 
  
  
 ===== Links ===== ===== Links =====
   * https://orcaforum.cec.mpg.de/   * https://orcaforum.cec.mpg.de/
  • orca.1459263948.txt.gz
  • Dernière modification : 2016/03/29 15:05
  • de admin