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 mpiworkq
#PBS -N TestRun_ComsolTestRunComsol
#PBS -l select=1:ncpus=8:mem=7g,walltime=4:00:00
## The number of nodes is given by the select =<NUM > above
NODES=1
###### The number of threads available is ncpus * NODES (=NPROCS)
NPROCS=8

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

...