Using Chapel with OmniPath¶
PSM is not supported by the current GASNet release. If this is an important configuration for you, please contact the Chapel team.
This document describes how to run Chapel across multiple machines in an OmniPath cluster. The Multilocale Chapel Execution describes general information about running Chapel in a multilocale configuration. The OmniPath drivers come with Gasnet, which is what has been used to launch jobs. Tested using Slurm 16.05 and Gasnet supplied with OPA Basic 10.3.1.
Used the following environment variables:
export CHPL_COMM='gasnet' export CHPL_LAUNCHER='gasnetrun_psm' export CHPL_COMM_SUBSTRATE='psm' export CHPL_GASNET_SEGMENT='everything' export CHPL_TARGET_CPU='native'
Using Slurm for Job Launch¶
- Source the Chapel environment script
- Define the variables given in the above section
HFI_NO_CPUAFFINITY=1otherwise no parallelism on each locale will be used.