#!/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