Cray Chapel on LRZ HPC systems

A preview release of the reference implementation is available on some of the LRZ HPC systems.

Interactive testing

Please load the module

module load chapel

Then, the program

config const message = "Hello, world!",
             printLocaleName = true;
coforall loc in Locales {
  on loc {
    var myMessage = message + " (from locale " + here.id + " of " + numLocales;
    if (printLocaleName) then myMessage += " named " + loc.name;
    myMessage += ")";
    writeln(myMessage);
  }
}

stored in hello-multiloc.chpl can then be compiled with

chpl -o hello.exe hello-multiloc.chpl

and then executed using multiple locales.

./hello.exe -nl 2

On the Linux Cluster, you need to set the following SLURM environment variable that specifies your time limit before executing your program:

export CHPL_LAUNCHER_WALLTIME=00:15:00


Batch processing

Execution of Chapel programs under a batch queueing system requires a system-specific setup for both compilation and running.


SuperMUC

Please load the following module stack before compiling your program, and also in your LoadLeveler script:

module unload mpi.ibm

module load mpi.intel chapel

Please use

#@ job_type=MPICH

in your LoadLeveler script


Linux Cluster

On the cluster, a Chapel program compiled under the default environment can be submitted as follows

export CHPL_LAUNCHER_WALLTIME=00:15:00

export CHPL_LAUNCHER_USE_SBATCH=yes

export SLURM_PARTITION=mpp2_batch

export SLURM_CLUSTERS=mpp2

./hello.exe -nl 2

Scripted batch jobs are currently not supported. Please contact the service desk if you have problems with this.