Bug #20453
ZMQ connection_out parameter for timing/Felix not working across partitions properly
0%
Description
Need to verify if configs are correct and/or if DAQInterface is doing bookkeeping properly
History
#1 Updated by Kurt Biery over 2 years ago
- Status changed from New to Assigned
- Assignee set to Wesley Ketchum
#2 Updated by Wesley Ketchum over 2 years 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.
#3 Updated by Wesley Ketchum over 2 years ago
Giovanna bumped us on this today...
#4 Updated by Kurt Biery over 2 years ago
1) ask RC developers (John)
2) learn where in the DAQI code this happens (Wes)
#5 Updated by Kurt Biery over 2 years ago
For future discussion: think about parameters that change in BRs dependent on partition number.
#6 Updated by John Freeman over 2 years 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)
#7 Updated by Kurt Biery over 2 years ago
- Status changed from Work in progress to Resolved