From 7882b6a453be6aa55e02436a789e612374170d4c Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 30 Mar 2026 15:29:51 +0100 Subject: [PATCH 1/2] Added option to start dynamic capiocl configuration --- capio/server/capio_server.cpp | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/capio/server/capio_server.cpp b/capio/server/capio_server.cpp index 59f22f4b6..a267addd9 100644 --- a/capio/server/capio_server.cpp +++ b/capio/server/capio_server.cpp @@ -212,17 +212,27 @@ int parseCLI(int argc, char **argv) { } if (config) { - std::string token = args::get(config); - std::filesystem::path resolve_path = ""; - if (resolve_prefix) { - resolve_path = args::get(resolve_prefix); - } + if (std::string token = args::get(config); token == "dynamic") { + std::cout << CAPIO_LOG_SERVER_CLI_LEVEL_INFO + << "Starting CAPIO-CL engine with dynamic configuration" << std::endl; - std::cout << CAPIO_LOG_SERVER_CLI_LEVEL_INFO << "parsing config file: " << token - << std::endl; + capio_cl_engine = new capiocl::engine::Engine(); + capio_cl_engine->startApiServer(); + } else { + std::filesystem::path resolve_path = ""; + + if (resolve_prefix) { + resolve_path = args::get(resolve_prefix); + } + + std::cout << CAPIO_LOG_SERVER_CLI_LEVEL_INFO << "parsing config file: " << token + << std::endl; + + capio_cl_engine = + capiocl::parser::Parser::parse(token, resolve_path, store_all_in_memory); + } - capio_cl_engine = capiocl::parser::Parser::parse(token, resolve_path, store_all_in_memory); } else if (noConfigFile) { capio_cl_engine = new capiocl::engine::Engine(); capio_cl_engine->setWorkflowName(get_capio_workflow_name()); From 270a568e910d9e68d18ec420090fc89fc7606479 Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 31 Mar 2026 20:20:50 +0100 Subject: [PATCH 2/2] Updated dependency capio-cl --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a3c372de8..24d193980 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,7 +76,7 @@ ENDIF (CAPIO_LOG AND CMAKE_BUILD_TYPE STREQUAL "Debug") FetchContent_Declare( capio_cl GIT_REPOSITORY https://github.com/High-Performance-IO/CAPIO-CL.git - GIT_TAG v1.3.4 + GIT_TAG v1.4.0 ) #####################################