#!/bin/bash -l #SBATCH -p parallel #SBATCH -n 12 #SBATCH -N 1 # number of nodes on which the processes are distributed #SBATCH -t 2:30:00 # time as hh:mm:ss #SBATCH -J tm631-parallel-job #SBATCH -e jobfile.err%J #SBATCH -o jobfile.out%J #SBATCH --mem-per-cpu=2000 # requested memory per process in MB # SDIR=`pwd` echo "Submission directory is: $SDIR" echo "The job ID assigned by the Batch system is: $LSB_JOBID" echo "Number of requested processes $SLURM_NPROCS" export TURBOTMPDIR=$WRKDIR/$USER/TURBOTMPDIR.$SLURM_JOB_ID mkdir -p $TURBOTMPDIR # uncomment one of the three following lines # in order to activate the desired type of parallellisation export PARA_ARCH=MPI # export PARA_ARCH=GA # export PARA_ARCH=SMP export MPI_REMSH=/usr/bin/ssh export HOSTS_FILE=$SDIR/turbomole.machines export PARNODES=$SLURM_NPROCS rm -f $HOSTS_FILE srun hostname > $HOSTS_FILE cat $HOSTS_FILE module load turbomole/6.31 /usr/bin/time -p ridft > ridft.out rm -rf $TURBOTMPDIR