Commit ce11d932 authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

updating readme

Signed-off-by: Mccaskey, Alex's avatarAlex Mccaskey <>
parent 514980de
......@@ -20,9 +20,13 @@ MPI: OpenMPI 3+ (version 3.1.0 is recommended), MPICH 3+
CUDA 9+ (optional)
CMake 3.9+ (for build)
For TaProl Parser Development
ANTLR: wget
## Build instructions
## Linux Build instructions
On Ubuntu 16+, for GCC 8+, OpenMPI 3+, and ATLAS BLAS, run the following:
......@@ -30,15 +34,8 @@ $ add-apt-repository ppa:ubuntu-toolchain-r/test
$ apt-get update
$ apt-get install gcc-8 g++-8 gfortran-8 libblas-dev libopenmpi-dev
$ python -m pip install --upgrade cmake
$ wget
$ mv ./antlr-4.7.2-complete.jar PATH_TO_EXATN_SOURCE/src/parser
for CMake 3.9+, do not use the apt-get installer, instead use `pip`, and
ensure that `/usr/local/bin` is in your PATH:
$ python -m pip install --upgrade cmake
$ export PATH=$PATH:/usr/local/bin
Note that, for now, developers must clone ExaTENSOR manually:
``` bash
$ git clone --recursive
......@@ -56,6 +53,23 @@ point CMake to a compatible version (for example, g++-7 or lower, but no lower t
If the build process fails to link testers at the end, make sure that
the g++ compiler used for linking tester executables is CUDA_HOST_COMPILER.
## Mac OS X Build Instructions
First install MPICH or OpenMPI from source. Refer to their installation guides for this.
Here's an example configure command that we've tested for MPICH:
$ CC=gcc-8 CXX=g++-8 FC=gfortran-8 ./configure --prefix=/usr/local/mpich --enable-fortran=all
Then install GCC via homebrew (version 8 due to a bug in version 8)
$ brew install gcc@8
Now continue with configuring and building ExaTN
$ mkdir build && cd build
$ FC=gfortran-8 CXX=g++-8 cmake .. -DMPI_CXX_COMPILER=/usr/local/mpich/bin/mpic++ -DMPI_Fortran_COMPILER=/usr/local/mpich/bin/mpif90 -DEXATN_BUILD_TESTS=TRUE -DPYTHON_INCLUDE_DIR=$(python -c "import sysconfig; print(sysconfig.get_paths()['platinclude'])")
$ make install
## Testing instructions
From build directory:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment