ChplConfig

Usage

use ChplConfig;

or

import ChplConfig;

Access to configuration information for the ‘chpl’ compiler.

This module’s contents provide access to compile-time aspects of Chapel’s configuration, such as those specified by CHPL_* environment variables or chpl command-line options, as well as those inferred from the environment or other settings. For details, refer to Setting up Your Environment for Chapel and the chpl man page. This information can also be displayed from a Chapel executable’s command line by executing it with the --about flag.

param CHPL_HOME : string

Warning

‘ChplConfig.CHPL_HOME’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_HOME for more information.

param CHPL_TARGET_PLATFORM : string

Warning

‘ChplConfig.CHPL_TARGET_PLATFORM’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_TARGET_PLATFORM for more information.

param CHPL_HOST_PLATFORM : string

Warning

‘ChplConfig.CHPL_HOST_PLATFORM’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_HOST_PLATFORM for more information.

param CHPL_HOST_ARCH : string

Warning

‘ChplConfig.CHPL_HOST_ARCH’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_HOST_ARCH for more information.

param CHPL_HOST_COMPILER : string

Warning

‘ChplConfig.CHPL_HOST_COMPILER’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_*_COMPILER for more information.

param CHPL_TARGET_COMPILER : string

Warning

‘ChplConfig.CHPL_TARGET_COMPILER’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_*_COMPILER for more information.

param CHPL_TARGET_ARCH : string

Warning

‘ChplConfig.CHPL_TARGET_ARCH’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_TARGET_ARCH for more information.

param CHPL_TARGET_CPU : string

Warning

‘ChplConfig.CHPL_TARGET_CPU’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_TARGET_CPU for more information.

param CHPL_LOCALE_MODEL : string

Warning

‘ChplConfig.CHPL_LOCALE_MODEL’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_LOCALE_MODEL for more information.

proc compiledForSingleLocale() param

Check if the Chapel program is being compiled for a single locale only.

param CHPL_COMM : string

Warning

‘ChplConfig.CHPL_COMM’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_COMM for more information.

param CHPL_COMM_SUBSTRATE : string

Warning

‘ChplConfig.CHPL_COMM_SUBSTRATE’ is unstable and may be replaced with a different way to access this information in the future

See Chapel Launchers for more information.

param CHPL_GASNET_SEGMENT : string

Warning

‘ChplConfig.CHPL_GASNET_SEGMENT’ is unstable and may be replaced with a different way to access this information in the future

See Multilocale Chapel Execution for more information.

param CHPL_TASKS : string

Warning

‘ChplConfig.CHPL_TASKS’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_TASKS for more information.

param CHPL_LAUNCHER : string

Warning

‘ChplConfig.CHPL_LAUNCHER’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_LAUNCHER for more information.

param CHPL_TIMERS : string

Warning

‘ChplConfig.CHPL_TIMERS’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_TIMERS for more information.

param CHPL_UNWIND : string

Warning

‘ChplConfig.CHPL_UNWIND’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_UNWIND for more information.

param CHPL_MEM : string

Warning

‘ChplConfig.CHPL_MEM’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_MEM for more information.

param CHPL_MAKE : string

Warning

‘ChplConfig.CHPL_MAKE’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_MAKE for more information.

param CHPL_ATOMICS : string

Warning

‘ChplConfig.CHPL_ATOMICS’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_ATOMICS for more information.

param CHPL_NETWORK_ATOMICS : string

Warning

‘ChplConfig.CHPL_NETWORK_ATOMICS’ is unstable and may be replaced with a different way to access this information in the future

See Runtime Support for Atomics for more information.

param CHPL_GMP : string

Warning

‘ChplConfig.CHPL_GMP’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_GMP for more information.

param CHPL_HWLOC : string

Warning

‘ChplConfig.CHPL_HWLOC’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_HWLOC for more information.

param CHPL_HWLOC_PCI : string

Warning

‘ChplConfig.CHPL_HWLOC_PCI’ is unstable and may be replaced with a different way to access this information in the future

param CHPL_RE2 : string

Warning

‘ChplConfig.CHPL_RE2’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_RE2 for more information.

param CHPL_LLVM : string

Warning

‘ChplConfig.CHPL_LLVM’ is unstable and may be replaced with a different way to access this information in the future

See CHPL_LLVM for more information.