Friday, February 21, 2014

BerkeleyDB 4.8.x on Cray XC30

Our applications use Berkeley DB for storing data and we do not have time to upgrade it for using some other modern key-value databases.

Since we will build Java API, we should load the module java. In addition, we will use the latest version of GNU Compiler, which is 4.8.1.

% module unload PrgEnv-cray
% module load PrgEnv-gnu
% module load java

Now, it is time to begin.

% cd $WORK/setup
% wget http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz
% tar zxf db-4.8.30.tar.gz
% cd db-4.8.30/build_unix/
% ../dist/configure --prefix=$WORK --enable-cxx --enable-java --enable-o_direct --enable-stl CC=gcc CXX=g++ CPP=cpp
% make
% make install

No comments:

Post a Comment