-
Notifications
You must be signed in to change notification settings - Fork 0
/
runconf-client.sh
executable file
·24 lines (20 loc) · 1.16 KB
/
runconf-client.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
##This is example file to run SDS configuration (SDS Client)
##Please update following packages to your own
##Directory to install SDS Server
prefix_dir=/global/homes/d/dbin/sds-0.0.1-install
##packages installed on edison
## Use a few dynamic packages to compile the code
## make LDFLAGS=-dynamic -j to compile the code
##
depend_package_home=/project/projectdirs/m1248/sds-depends-packages/install-so
libevent_dir="$depend_package_home/libevent"
protobuf_dir="$depend_package_home/protobuf"
protobufc_dir="$depend_package_home/protobuf-c"
berkeley_db_dir="$depend_package_home/db"
hdf5_dir="$depend_package_home/hdf5-vol-r25561"
fastquery_dir="$depend_package_home/fastquery"
fastbit_dir="$depend_package_home/fastbit-trunk"
mpi_dir="/opt/cray/mpt/7.2.1/gni/mpich2-gnu/49/"
##Specify --enable-server to configure SDS Server and also specify the packages for SDS Server
./configure CC=gcc --with-libevent=$libevent_dir --with-protobuf=$protobuf_dir --with-protobufc=$protobufc_dir --with-db=$berkeley_db_dir --with-hdf5=$hdf5_dir --with-mpi=$mpi_dir --prefix=$prefix_dir --with-fastquery=$fastquery_dir --with-fastbit=$fastbit_dir --enable-debug --enable-clientmpi=yes