From 61d5cedf58fb26b33549bf7620e341fcd846f8f7 Mon Sep 17 00:00:00 2001 From: lukemartinlogan Date: Tue, 6 Feb 2024 19:40:42 -0600 Subject: [PATCH] Update readme details --- README.md | 39 ++++++++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 87bb18f1..934749ec 100644 --- a/README.md +++ b/README.md @@ -3,21 +3,50 @@ This work is an adapter which connects ADIOS to Hermes through the use of the ADIOS plugins interface. -## Install +## Dependencies + +* [Hermes](https://github.com/HDFGroup/hermes): a multi-tiered I/O buffering platform. +* [ADIOS2](https://github.com/ornladios/ADIOS2): an I/O library -To compile +### ADIOS2 +We have found some cases where spack failed to install ADIOS2. Below are +instructions on installing ADIOS2 from source. SCSPKG is a system for +organizing manually-built software and producing modulefiles for them. +Instructions to install are [here](https://grc.iit.edu/docs/hermes/building-hermes#optional-create-a-hermes-scspkg-repo). +```bash +scspkg create adios2 +cd $(scspkg pkg src adios2) +git clone https://github.com/ornladios/ADIOS2.git +cd ADIOS2 +mkdir build +cd build +cmake ../ \ +-DCMAKE_INSTALL_PREFIX=$(scspkg pkg root adios2) \ +-DADIOS2_USE_HDF5=ON \ +-DADIOS2_USE_MPI=ON +make -j32 install ``` -git clone https://github.com/lukemartinlogan/coeus-adapter.git -spack load hermes@master -spack load adios2 + +## Install + +Load dependencies: +```bash +spack load hermes +module load adios2 +``` + +To compile: +``` +git clone https://github.com/grc-iit/coeus-adapter.git cd coeus-adapter mkdir build cd build cmake ../ make -j8 ``` + Note: To enable metadata and function trace feature, please add flag during cmake ```