forked from mochi-hpc/mochi-sdsdkv
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ba33d5
commit 32a9f79
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,44 @@ | ||
# SDS Distributed Key-Value | ||
sdsdkv is a configurable distributed key-value service. | ||
|
||
## Building | ||
sdsdkv depends on several pieces of software infrastructure, so it is convenient | ||
to build these dependencies using spack. If spack is already configured in your | ||
environment, then please skip to **Install dependencies**. Please note that a | ||
bash-like environment is assumed herein. | ||
|
||
### Get spack. | ||
|
||
``` | ||
git clone https://github.com/spack/spack.git | ||
``` | ||
|
||
### Configure spack and build environment. | ||
|
||
``` | ||
source spack/share/spack/setup-env.sh | ||
# Setup spack for modules support. | ||
spack bootstrap | ||
``` | ||
|
||
### Install dependencies. | ||
|
||
``` | ||
# Checkout sds-repo | ||
git clone https://xgitlab.cels.anl.gov/sds/sds-repo.git | ||
# Add to spack. | ||
spack repo add sds-repo | ||
# Install via spack. | ||
spack install sdskeyval | ||
# Refresh spack environment. | ||
source spack/share/spack/setup-env.sh | ||
# Load sdskeyval modules. | ||
source <(spack module loads --dependencies sdskeyval) | ||
``` | ||
|
||
### Get and build sdsdkv. | ||
|
||
``` | ||
git clone https://xgitlab.cels.anl.gov/sds/sdsdkv.git | ||
cd sdsdkv && ./autogen && ./configure CXX=mpic++ && make | ||
``` |