Skip to content

Commit

Permalink
updated READMEs; now the entire bootstrap script works and Alchemist …
Browse files Browse the repository at this point in the history
…compiles
  • Loading branch information
rustandruin committed Dec 20, 2017
1 parent 5147834 commit a824f9a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions CORI_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ make check # will run the current test suite
## Clone the Alchemist repo and set the ALPREFIX environment variable to where supporting libraries are installed
```
bash # need to use bash
mkdir -p $SCRATCH/alchemistSHELL
cd $SCRATCH/alchemistSHELL
mkdir -p $SCRATCH/alchemistbase
cd $SCRATCH/alchemistbase
git clone https://github.com/alexgittens/alchemist.git
git checkout cori-version
source ./alchemist/setup/cori-bootstrap.sh
module unload PrgEnv-intel
module load PrgEnv-gnu gcc java cmake python boost sbt
export ALPREFIX=$SCRATCH/alchemistSHELL/bins
module load PrgEnv-gnu gcc java python boost sbt cray-hdf5-parallel fftw
export ALPREFIX=$SCRATCH/alchemistbase/bins
cd alchemist
make build
Expand Down
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
This branch uses h5spark. The NERSC version is broken as of 11/2/2017, so I'm using [my fork](https://github.com/rustandruin/h5spark), which seems to work
still. You'll need to do an "sbt publish-local" so it is installed in your local Ivy repo on Cori, before
doing an sbt package of Alchemist.

Alchemist is a framework for easily and efficiently calling MPI-based codes from Apache Spark.

![Platonic Alchemist Architecture](https://github.com/alexgittens/alchemist/blob/master/architecture.png)
Expand All @@ -24,7 +20,7 @@ export TMPDIR=/tmp # avoid a Mac specific issue with tmpdir length
make # will both build and run the test suite
```

# Installation instructions (for running locally on MacOS 10.12)
# Installation instructions (for running locally on MacOS 10.12) (NEED TO BE UPDATED: adapt the setup/cori-bootstrap.sh script)

## Install some prereqs
Assuming that the XCode command line tools, Homebrew, and Spark have been installed:
Expand Down
2 changes: 2 additions & 0 deletions TODOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@
* need to fix kMeans on Spark and Alchemist side to use all the options passed in
* need to fix kMeans on Alchemist side to use the seed appropriately on driver and workers
* need to go through and uniformatize the datatype used for row/col indices (e.g. am sure in kmeans code, am using uint32_t for sampling row indices, but the rows can be longs)

* bette placement of the third-party dependencies? want them to be under the alchemist/ directory for simplicity
1 change: 1 addition & 0 deletions setup/cori-bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ if [ "$WITH_RANDOM123" = 1 ]; then
cp -r Random123-1.08/include/Random123 $ALPREFIX/include
fi

# Skylark
# need to use development-v0.30 branch and patch it
if [ "$WITH_SKYLARK" = 1 ]; then
git clone https://github.com/xdata-skylark/libskylark.git
Expand Down

0 comments on commit a824f9a

Please sign in to comment.