Compile and execute CLaMS programs on JUROPA

Compilation

All used libraries and module files are linked to:

The CLaMS makefiles are adjusted for compilation of CLaMS programs on JUROPA with the Intel compiler (mkincl/config/config.Linux_ifc).

The netCDF version 3.6.3 is used. For using netCDF 4 see Used Libraries (netCDF3/netCDF4).

The CLaMS programs can be compiled with:

gmake useComp=ifc [useMPI=true] progname

Create batch script

Write a batch script including the mpiexec command for the just compiled executable:

#!/bin/bash -x #MSUB -l nodes=<no of nodes>:ppn=<no of procs/node> #MSUB -l walltime=<hh:mm:ss> #MSUB -e <full path for error file> #MSUB -o <full path for output file>

cd $PBS_O_WORKDIR echo "workdir: $PBS_O_WORKDIR" NP=$(cat $PBS_NODEFILE | wc -l) # nodes*ppn echo "running on $NP cpus ..." mpiexec -np $NP <executable>

Job Limits

Batch jobs

Interactive jobs:

Submit job

Submit the job with:

On success msub returns the job ID of the submitted job.

Useful commands

Interactive Session