Instructions

These examples exercise the IBM Parallel Engineering and Scientific Subroutine Library. In particular, to build/run these examples:

    1. In a new directory, download the examples:
      wget http://geco.mines.edu/prototype/Show_me_Power8_and_GPU_examples/pessl/pessl.tgz
    2. Uncompress the pessl.tgz file:
      tar -xzf pessl.tgz
    3. Get an interactive session on ppc001 or ppc002:
      srun -N 1 --tasks-per-node=1 -p ppc-build --share --time=1:00:00 --pty bash
    4. Run the script ‘buildit’. This sets up the environment and does a ‘make’:
      ./buildit
    5. Exit the interactive session:
      exit
    6. Run the batch script ‘power_script’:
      sbatch -p ppc power_script

    buildit

    A script that sets up the environment and then does a ‘make’.

    Makefile

    Makefile for the examples. By default, the following programs are built but there are several other that can be created from this makefile.

    diffusion

    Purpose; to find the cooling rate for a specified set of points in an anisotropic rectangular beam, immersed in a constant heat bath with a temperature of 0.

    pdgexmp

    Calculate the performance of linear algebra solvers for different block sizes, matrix sizes and processor configurations.

    simple

    Program designed to show how to use the sample utilities. This program will sum two distributed arrays and compare the results to the same calculation done on a single processor.

    power_script

    A script for running the examples.

    All of the files in the pessl.tgz

    broadcast.f      expands      mat.example   pdgexmp.inp
    buildit          fourier.f    northsouth.f  pmatgen.f
    cdata.f          hb_sample.f  param.f       power_script
    create.f         image.f      partbcyc.f    putilities.f
    delete.f         index.f      part_block.f  read_mat.f
    desym.f          index.html   partrand.f    scalemod.f
    diffusion.f      init.f       pdata.f       scatter_gather.f
    diffus.naml      main.f       pde77.f       simple.f
    eastwest.f       Makefile     pde90.f
    examples.readme  mat_dist.f   pdgexmp.f