XT3/XT4 support


To compile PPW for the XT3/XT4, you need to use the special cross-compilation script cross-configure-crayxt found in the PPW distribution. The steps to install PPW on a Cray XT3/XT4 are roughly as follows:

  • Grab a copy of Berkeley UPC 2.6.0 and follow these instructions for cross-compiling Berkeley UPC for use with the XT3/XT4. Be sure to enable instrumentation, normally by using the --with-multiconf=+opt_inst flag.

  • Download and untar a copy of the PPW source distribution.

  • From within the PPW source directory, type

    ln -s contrib/cross-configure-crayxt .
    

  • Edit the cross-configure-crayxt script and update to match your working environment. Be sure to update the TARGET_ID variable to match your current XT3 compute node setup (ie, CNL or Catamount).

  • Note that PPW must be compiled with the same compilers used to build Berkeley UPC. If you compiled Berkeley UPC with GCC, you might need to do a module swap PrgEnv-pgi PrgEnv-gnu.

  • Make sure your cc's default target matches your compute nodes. If not, do module load xtpe-target-cnl or module load xtpe-target-catamount. Most like this will already be done for you, so this step is probably not needed.

  • If you want to configure PPW to use PAPI, type module load papi or module load papi-cnl before you perform the next step.

  • Use the cross-configure-crayxt script in place of the normal configure script, as in

    $ ./cross-configure-crayxt
    $ make
    

    Then install as normal.

We have had best luck using Berkeley UPC compiled with GCC running on Catamount compute nodes. Also, depending on your XT3 installation, you might need to adjust the module commands above. Generally speaking, if you can get Berkeley UPC up and running, then you'll need the same type of build environment to compile and install PPW.