From 7ef8d6d13442f7333bde28e97d5f8ddaf79dd439 Mon Sep 17 00:00:00 2001 From: hxu65 Date: Sun, 4 Feb 2024 21:35:43 -0600 Subject: [PATCH] change the readme.MD and comment metadata and tracer --- README.md | 9 ++++++++- src/CMakeLists.txt | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 710df5ce..0151ea43 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ of the ADIOS plugins interface. ## Install To compile + + ``` git clone https://github.com/lukemartinlogan/coeus-adapter.git spack load hermes@master @@ -16,7 +18,12 @@ cd build cmake ../ make -j8 ``` - +Note: +To enable metadata and function trace feature, please comment out /src/CMakeLists.txt +``` +#add_definitions(-DMeta_enabled) +#add_definitions(-Ddebug_mode) +``` ## Test To test the functionality of the adapter, run: diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4cce37e6..4f742e55 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -9,8 +9,8 @@ set(HERMES_ENGINE_SRCS #------------------------------------------------------------------------------ # Libraries #------------------------------------------------------------------------------ -add_definitions(-DMeta_enabled) -add_definitions(-Ddebug_mode) +#add_definitions(-DMeta_enabled) +#add_definitions(-Ddebug_mode) add_library(hermes_engine ${HERMES_ENGINE_SRCS} ../include/coeus/MetadataSerializer.h) add_dependencies(hermes_engine spdlog) add_dependencies(hermes_engine coeus_mdm)