Use IPC for local calib connections#390
Conversation
|
Ciao @davidrohr , Seems fine to me, thanks! EPN:
adds the calib processes to the workflow:
produces: and then in the workflow:
Produces: and in the workflow: For the aggregator:
produces:
produces: Chiara |
|
Before merging, let me test it in |
|
We need this one: With that, I am getting errors on the aggregator: I need to investigate. |
|
Must have been some shm file left hanging, because cleaning up did the trick. But it is harmless. So I would merge. |
|
Tests ok, merging. |
@chiarazampolli : Haven't tested this yet, but this is what I had in mind for the proxy channels:
So for testing locally, but in 2 separate shells, i.e. without CALIB_LOCAL_INTEGRATED_AGGREGATOR, one has to set both CALIB_PROXIES and CALIB_LOCAL_AGGREGATOR. Then it will use SHM transport with a socket file based on the channel name.
If CALIB_PROXIES is set, but CALIB_LOCAL_AGGREGATOR is not, i.e. when we run online on the EPN, we use zeromq transport and leave the address empty, to be filled by FairMQ automatically, in the same way we are doing for the calib workflows at P2 right now already.