...
No Format |
---|
##!/bin/bash #PBS -m abe #PBS -M YourEmail@griffith.edu.au #PBS -N ParallelComsol #PBS -l select=1:ncpus=4:mpiprocs=4:mem=7g,walltime=24:00:00 ## The number of chunks is given by the select =<NUM > above CHUNKS=1 ###$PBS_NODEFILE is a node-list file created with select and mpiprocs options by PBS ###### The number of threads available is ncpus * CHUNKS (=NPROCS) NPROCS=4 cd $PBS_O_WORKDIR module load comsol/6.161 export COMSOL_NUM_THREADS=$NPROCS comsol batch -np $NPROCS -inputfile model_in.mph -outputfile model_out.mph |
...