#!/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_tmp-job #SBATCH -e jobfile.err%J #SBATCH -o jobfile.out%J #SBATCH --mem-per-cpu=2000 # requested memory per process in MB #SBATCH --tmp=500000 # requested scratch disk in total on /tmp in MB # # the maximum value is 800000 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" # For disk intensive jobs running on a single node it is recommended # to use the local disk. export TURBOTMPDIR=/tmp/$USER/$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