Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
#!/bin/bash
#PBS -m abe
#PBS -M YourEmail@griffith.edu.au
#PBS -q mpi
#PBS -N TestRun_Comsol
#PBS -l select=1:ncpus=12:mpiprocs=2:mem=7g,walltime=4:00:00
## The number of nodes is given by the select =<NUM > above
NODESCHUNKS=1
###### The number of threads available is ncpus * NODESCHUNKS (=NPROCS)
NPROCS=12

module load comsol/4.3-withMatlab2011a61
cd $PBS_O_WORKDIR
comsol server  < /dev/null  > comsolserver1.log &
matlab -nodesktop -nosplash -r  "addpath /sw/comsol/comsol61/4.3multiphysics/mli/, mphstart, pseudoperiodicity_llmatlab, exit"

...