ZMQ connection_out parameter for timing/Felix not working across partitions properly
Need to verify if configs are correct and/or if DAQInterface is doing bookkeeping properly
#2 Updated by Wesley Ketchum over 1 year ago
- Status changed from Assigned to Work in progress
OK, so, issue is that the zmq_fragment_connection_out parameter in the felix boardreaders needs to be updated to change with partition to match value in timing boardreaders. This is a bit different in that it's a user fragment generator config that needs updating, and not the normal bookkeeping for ranks and etc? So need to work on a better design.
For the moment, Felix BRs will work on partition2 without getting interrupted by other partitions.
#6 Updated by John Freeman over 1 year ago
For DAQInterface v3_00_05s:
zmq_fragment_connection_out is read in lines 108-112 in rc/control/config_functions_local.py:
res = re.search(r"\s*zmq_fragment_connection_out\s*:\s*(\S+)", line) if res: self.zmq_fragment_connection_out = int( res.group(1) ) continue
It overwrites the FHiCL document on lines 518-521 of rc/control/bookkeeping.py:
if not self.zmq_fragment_connection_out is None: self.procinfos[i_proc].fhicl_used = re.sub("zmq_fragment_connection_out\s*:\s*[0-9]+", "zmq_fragment_connection_out: %d" % (int(self.zmq_fragment_connection_out)), self.procinfos[i_proc].fhicl_used)