.. default-domain:: chpl .. module:: ChplConfig :synopsis: Access to configuration information for the 'chpl' compiler. ChplConfig ========== **Usage** .. code-block:: chapel use ChplConfig; or .. code-block:: chapel 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 :ref:`readme-chplenv` and the :ref:`chpl man page `. This information can also be displayed from a Chapel executable's command line by executing it with the ``--about`` flag. .. data:: 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 :ref:`readme-chplenv.CHPL_HOME` for more information. .. data:: 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 :ref:`readme-chplenv.CHPL_TARGET_PLATFORM` for more information. .. data:: 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 :ref:`readme-chplenv.CHPL_HOST_PLATFORM` for more information. .. data:: 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 :ref:`readme-chplenv.CHPL_HOST_ARCH` for more information. .. data:: 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 :ref:`readme-chplenv.CHPL_COMPILER` for more information. .. data:: 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 :ref:`readme-chplenv.CHPL_COMPILER` for more information. .. data:: 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 :ref:`readme-chplenv.CHPL_TARGET_ARCH` for more information. .. data:: 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 :ref:`readme-chplenv.CHPL_TARGET_CPU` for more information. .. data:: 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 :ref:`readme-chplenv.CHPL_LOCALE_MODEL` for more information. .. function:: proc compiledForSingleLocale() param Check if the Chapel program is being compiled for a single locale only. .. data:: 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 :ref:`readme-chplenv.CHPL_COMM` for more information. .. data:: 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 :ref:`readme-launcher` for more information. .. data:: 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 :ref:`readme-multilocale` for more information. .. data:: 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 :ref:`readme-chplenv.CHPL_TASKS` for more information. .. data:: 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 :ref:`readme-chplenv.CHPL_LAUNCHER` for more information. .. data:: 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 :ref:`readme-chplenv.CHPL_TIMERS` for more information. .. data:: 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 :ref:`readme-chplenv.CHPL_UNWIND` for more information. .. data:: 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 :ref:`readme-chplenv.CHPL_MEM` for more information. .. data:: 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 .. data:: 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 :ref:`readme-chplenv.CHPL_ATOMICS` for more information. .. data:: 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 :ref:`readme-atomics` for more information. .. data:: 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 :ref:`readme-chplenv.CHPL_GMP` for more information. .. data:: 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 :ref:`readme-chplenv.CHPL_HWLOC` for more information. .. data:: 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 :ref:`readme-chplenv.CHPL_RE2` for more information. .. data:: 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 :ref:`readme-chplenv.CHPL_LLVM` for more information.