ChapelEnv

Note

All Chapel programs automatically use this module by default. An explicit use statement is not necessary.

Access to Chapel Environment Variables

The values of Chapel’s environment variables upon compile time are accessible through the built-in parameters shown below. This information can also be displayed from the command line by executing the compiled program with the --about flag.

param CHPL_HOME: string

See CHPL_HOME for more information.

param CHPL_AUX_FILESYS: string

Deprecated

param CHPL_TARGET_PLATFORM: string

See CHPL_TARGET_PLATFORM for more information.

param CHPL_HOST_PLATFORM: string

See CHPL_HOST_PLATFORM for more information.

param CHPL_HOST_ARCH: string

See CHPL_HOST_ARCH for more information.

param CHPL_HOST_COMPILER: string

See CHPL_*_COMPILER for more information.

param CHPL_TARGET_COMPILER: string

See CHPL_*_COMPILER for more information.

param CHPL_TARGET_ARCH: string

See CHPL_TARGET_ARCH for more information.

param CHPL_TARGET_CPU: string

See CHPL_TARGET_CPU for more information.

param CHPL_LOCALE_MODEL: string

See CHPL_LOCALE_MODEL for more information.

param CHPL_COMM: string

See CHPL_COMM for more information.

param CHPL_COMM_SUBSTRATE: string

See Chapel Launchers for more information.

param CHPL_GASNET_SEGMENT: string

See Multilocale Chapel Execution for more information.

param CHPL_TASKS: string

See CHPL_TASKS for more information.

param CHPL_LAUNCHER: string

See CHPL_LAUNCHER for more information.

param CHPL_TIMERS: string

See CHPL_TIMERS for more information.

param CHPL_UNWIND: string

See CHPL_UNWIND for more information.

param CHPL_MEM: string

See CHPL_MEM for more information.

param CHPL_MAKE: string

See CHPL_MAKE for more information.

param CHPL_ATOMICS: string

See CHPL_ATOMICS for more information.

param CHPL_NETWORK_ATOMICS: string

See Runtime Support for Atomics for more information.

param CHPL_GMP: string

See CHPL_GMP for more information.

param CHPL_HWLOC: string

See CHPL_HWLOC for more information.

param CHPL_RE2: string

See CHPL_RE2 for more information.

param CHPL_LLVM: string

See CHPL_LLVM for more information.