Skip to content

Cray XK7 (Titan) Build Example

Kevin Huck edited this page Dec 20, 2017 · 10 revisions

PLEASE NOTE: if you are using ADIOS 1.13 in your application, you'll likely need a special version of Flexpath/EVPath - please set the $FLEXPATH_DIR environment variable manually in that case, rather than loading the Flexpath module.

Building on Titan is somewhat straightforward, as the software pre-requisites are already installed on the system. EVPath is installed as a module, and SQLite3 is in installed in the system directory. To set up your environment, do the following:

  • Load modules (see note, above)
module swap PrgEnv-pgi PrgEnv-gnu
module load cmake3/3.6.1
module load flexpath/1.12
  • Get the SOS source code:
git clone [email protected]:cdwdirect/sos_flow.git
cd sos_flow
git checkout master
mkdir build-titan
cd build-titan
  • Configure with cmake:
# set an installation prefix location, or just "." for testing
sosdir=$HOME/path/to/sos/installation/prefix
cmake \
        -DCMAKE_BUILD_TYPE=RelWithDebInfo \
        -DBUILD_SHARED_LIBS=FALSE \
        -DCMAKE_INSTALL_PREFIX=${sosdir} \
        -DCMAKE_C_COMPILER=cc \
        -DCMAKE_CXX_COMPILER=CC \
        -DSOS_CLOUD_SYNC_WITH_EVPATH=TRUE \
        -DEVPath_DIR=${FLEXPATH_DIR} \
        ..
  • Compile!
make -j4
make install