-
Notifications
You must be signed in to change notification settings - Fork 4
Linux x86_64 Build Example
Kevin Huck edited this page Feb 15, 2018
·
9 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 for x86_64 is somewhat straightforward, but you may have to build some pre-requisite software. See the main wiki page for details.
- Get the SOS source code:
git clone [email protected]:cdwdirect/sos_flow.git
cd sos_flow
git checkout master
mkdir build-linux
cd build-linux
- Configure with cmake:
# set an installation prefix location, or just "." for testing
sosdir=$HOME/path/to/sos/installation/prefix
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=${sosdir} \
-DEVPath_DIR=/path/to/evpath/installation \
-DSQLite3_DIR=/path/to/sqlite3/installation \
-DCMAKE_C_COMPILER=gcc \
-DCMAKE_CXX_COMPILER=g++ \
-DSOS_CLOUD_SYNC_WITH_EVPATH=TRUE \
..
- Compile!
make -j4
make install