Difference between revisions of "ORCA 2016"

From HPC users
Jump to navigationJump to search
Line 45: Line 45:
   
   
  $ORCAEXE ${MODEL}.inp > ${MODEL}.out
  $ORCAEXE ${MODEL}.inp > ${MODEL}.out
 
  #preparing $TMPDIR for run by copying file
  #preparing $TMPDIR for run by copying file
  for ext in $INPUTEXT
  for ext in $INPUTEXT

Revision as of 07:23, 22 March 2017

Introduction

The program ORCA is a modern electronic structure program package that is able to carry out geometry optimizations and to predict a large number of spectroscopic parameters at different levels of theory. Besides the use of Hartee Fock theory, density functional theory (DFT) and semiempirical methods, high level ab initio quantum chemical methods, based on the configuration interaction and coupled cluster methods, are included into ORCA to an increasing degree.

For more details please refer the offical home of ORCA where you can also find a thorough documentation on using the program. Note that ORCA is free of charge for non-commercial use and by using ORCA on the cluster you are accepting the ORCA license. In particular, any scientific work using ORCA should at least cite

F. Neese: The ORCA program system (WIREs Comput Mol Sci 2012, 2: 73-78)

as well as other related works as apropriate.

Below, a short introduction to using ORCA on the cluster is given.

Installed version

The currently installed versions of ORCA are 3.0.3 and 4.0.0:

You can always check that out by yourself, you only need to use the command "module av ORCA":

$ module av ORCA

------------------------ /cm/shared/uniol/modules/chem -------------------------
   ORCA/3.0.3    ORCA/4.0.0 (D)

  Where:
   D:  Default Module

Using ORCA on the HPC cluster

Since there many people working with the HPC cluster, its important that everyone has an equal chance to do so. Therefore, every job should be processed by SLURM.

For this reason, you have to create a jobscript for your tasks.


#SBATCH --partition=carl.p
#SBATCH --time=1-00:00:00
#SBATCH --mem=2G 
#SBATCH --job-name ORCA-TEST
#SBATCH --output=slurm-%j.out
#SBATCH --error=slurm-%j.err 

module load ORCA

MODEL=TiF3

ORCAEXE=`which orca`

$ORCAEXE ${MODEL}.inp > ${MODEL}.out

#preparing $TMPDIR for run by copying file
for ext in $INPUTEXT
do
   if [ -e $MODEL.$ext ]
   then
      echo "Copying $MODEL.$ext to TMPDIR"
      cp $MODEL.$ext $TMPDIR/${MODEL}_${JOB_ID}.$ext
   fi
done

#change to $TMPDIR for running ORCA
cd $TMPDIR
 
#run ORCA
$ORCAEXE ${MODEL}_${JOB_ID}.inp > $SGE_O_WORKDIR/${MODEL}_${JOB_ID}.out
 
#saving files from $TMPDIR
for ext in $OUTPUTEXT
do
   if [ -e ${MODEL}_${JOB_ID}.$ext ]
   then
      echo "Copying $MODEL.$ext to $SGE_O_WORKDIR"
      cp ${MODEL}_${JOB_ID}.$ext $SGE_O_WORKDIR
   fi
done






Documentation

The full documentation of the most recent version of ORCA (currently 4.0.0) can be found here (PDF viewer required).