README.build 839 Bytes
Newer Older
1 2 3 4 5
To Build:

  ./prepare.sh

  On Darwin, run configure like this:
6 7
    With BwTree: ./configure CC=mpicc CXX=mpicxx --prefix=$HOME/mochi --enable-bwtree
    With BerkeleyDB: ./configure CC=mpicc CXX=mpicxx --prefix=$HOME/mochi --enable-berkeleydb
8
    With LevelDB: ./configure CC=mpicc CXX=mpicxx LDFLAGS="`pkg-config --libs leveldb`" --prefix=$HOME/mochi --enable-leveldb
9 10

  On Cori, run configure like this:
11 12 13
    With BwTree: ./configure CC=cc CXX=CC LDFLAGS="-dynamic -latomic" --prefix=$HOME/mochi --enable-bwtree
    With BerkeleyDB: ./configure CC=cc CXX=CC LDFLAGS="-dynamic -latomic" --prefix=$HOME/mochi --enable-berkeleydb
    With LevelDB: ./configure CC=cc CXX=CC LDFLAGS="-dynamic -latomic" --prefix=$HOME/mochi --enable-leveldb
14 15 16 17 18 19 20 21

  make -j16
  make install

For MPI test clients:

  make test/test-mpi
  make test/test-mpi-group