Update real worker audit for external IPC capabilities

This commit is contained in:
Codex
2026-07-05 22:28:07 +08:00
parent 11c904bbb8
commit bb688d2a19
6 changed files with 273 additions and 82 deletions
+2 -2
View File
@@ -3,8 +3,8 @@ module ccl_version
integer, parameter :: CCL_VERSION_MAJOR = 0
integer, parameter :: CCL_VERSION_MINOR = 1
integer, parameter :: CCL_VERSION_PATCH = 9
character(len=*), parameter :: CCL_VERSION_LABEL = "0.1.9"
integer, parameter :: CCL_VERSION_PATCH = 10
character(len=*), parameter :: CCL_VERSION_LABEL = "0.1.10"
contains
+6
View File
@@ -466,9 +466,15 @@ contains
command_line = trim(quote_argument(worker%executable)) // " --cclite-worker --solver-id " // &
trim(worker%solver_name) // " --ipc-name " // trim(worker%prefix) // " --timeout-ms " // &
trim(int_to_string(worker%timeout_ms))
if (trim(worker%solver_name) == "FEM") then
command_line = trim(command_line) // " --worker-backend ipc"
end if
if (len_trim(worker%input_file) > 0) then
command_line = trim(command_line) // " --case " // trim(quote_argument(worker%input_file))
end if
command_line = trim(command_line) // " --command-block " // trim(quote_argument(worker%command_name)) // &
" --data-prefix " // trim(quote_argument(worker%prefix)) // &
" --worker-id " // trim(quote_argument(worker%solver_name))
end subroutine build_worker_command_line
character(len=CCL_TEXT_LEN) function quote_argument(text) result(quoted)