Pathscale

Category: Program Dev-Compilers

Description

Cray provides the Pathscale compilers as part of several programming environments.

Note that Kraken has two kinds of nodes:

  1. Compute nodes running the CNL OS.
  2. Service and login nodes running Linux.

The Cray wrappers cc, CC, and ftn will automatically link against MPI (-lmpi) and SciLib (-lsci). This is not true when calling the Pathscale compilers directly. See the cc, CC, and ftn man pages for more information on their usage.

To see man pages on Pathscale compilers with a full list of compiler options, first make sure the "PrgEnv-pathscale" module is loaded, and then do a man on any of the following:

For more detailed information, see Pathscale documentation and Cray's documentation.

Use

It is best to review the pathcc, pathCC, and pathf95 man pages for a list of their options. You should also check out the eko man page, which has the complete list of options for the Pathscale Compiler suite.

To use the Cray wrappers with the Pathscale compilers, the PrgEnv-pathscale module should be loaded:

  module avail PrgEnv
  module swap PrgEnv-pgi PrgEnv-pathscale        # this loads some version of pathscale, currently 3.0
To just use the Pathscale compilers directly, just load the pathscale module you want:
  module avail pathscale
  module load pathscale/3.1           # Note that this does not changed the Cray wrappers.
It is possible to use the Pathscale compiler versions directly without loading the Cray Programming Environments, but note that the Cray wrappers will probably not work as expected if you do that.

Also note that with CNL 2.0.49 and above, the following options are set automatically by the xtpe-quadcore module (loaded by default):

kraken2> module display xtpe-quadcore
-------------------------------------------------------------------
/opt/xt-asyncpe/1.0/modulefiles/xtpe-quadcore:

prepend-path     PE_PRODUCT_LIST XTPE_QUADCORE
setenv           XTPE_QUADCORE_ENABLED ON
setenv           LIBSCI_PRE_LINK_OPTS  -lsci_quadcore
setenv           PGI_POST_COMPILE_OPTS   -tp barcelona-64
setenv           PATHSCALE_POST_COMPILE_OPTS  -march=barcelona
setenv           GNU_POST_COMPILE_OPTS  -march=barcelona
setenv           LLVM_AMD_10H 1
-------------------------------------------------------------------

Support

This package has the following support level : Supported

Available Versions

All versions of this software are provided by the system vendor and are not installed by NICS staff.