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.
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)
Bug #20453
ZMQ connection_out parameter for timing/Felix not working across partitions properly
Added by [Wesley Ketchum](https://cdcvs.fnal.gov/redmine/users/899) [almost 4 years](https://cdcvs.fnal.gov/redmine/projects/artdaq/activity?from=2018-07-26) ago. Updated [almost 4 years](https://cdcvs.fnal.gov/redmine/projects/artdaq/activity?from=2018-08-17) ago.
Status:
Resolved
Priority:
High
Assignee:
[Wesley Ketchum](https://cdcvs.fnal.gov/redmine/users/899)
Category:
-
Target version:
-
Start date:
07/26/2018
Due date:
% Done:
0%
Estimated time:
Experiment:
-
Co-Assignees:
Duration:
[Quote](https://cdcvs.fnal.gov/redmine/issues/20453/quoted)
Description
Need to verify if configs are correct and/or if DAQInterface is doing bookkeeping properly
[Add](https://cdcvs.fnal.gov/redmine/projects/artdaq/issues/new?back_url=%2Fredmine%2Fissues%2F20453&issue%5Bparent_issue_id%5D=20453&issue%5Btracker_id%5D=1)
Subtasks
[Add](https://cdcvs.fnal.gov/redmine/issues/20453#)
Related issues
History
[#1](https://cdcvs.fnal.gov/redmine/issues/20453#note-1)
Updated by [Kurt Biery](https://cdcvs.fnal.gov/redmine/users/16) [almost 4 years](https://cdcvs.fnal.gov/redmine/projects/artdaq/activity?from=2018-07-26) ago
Status changed from New to Assigned
Assignee set to Wesley Ketchum
[#2](https://cdcvs.fnal.gov/redmine/issues/20453#note-2)
Updated by [Wesley Ketchum](https://cdcvs.fnal.gov/redmine/users/899) [almost 4 years](https://cdcvs.fnal.gov/redmine/projects/artdaq/activity?from=2018-07-26) ago
Status changed from Assigned to Work in progress
[Quote](https://cdcvs.fnal.gov/redmine/issues/20453/quoted?journal_id=62328) [Edit](https://cdcvs.fnal.gov/redmine/journals/62328/edit) [Delete](https://cdcvs.fnal.gov/redmine/journals/62328?journal%5Bnotes%5D=)
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](https://cdcvs.fnal.gov/redmine/issues/20453#note-3)
Updated by [Wesley Ketchum](https://cdcvs.fnal.gov/redmine/users/899) [almost 4 years](https://cdcvs.fnal.gov/redmine/projects/artdaq/activity?from=2018-08-01) ago
[Quote](https://cdcvs.fnal.gov/redmine/issues/20453/quoted?journal_id=62463) [Edit](https://cdcvs.fnal.gov/redmine/journals/62463/edit) [Delete](https://cdcvs.fnal.gov/redmine/journals/62463?journal%5Bnotes%5D=)
Giovanna bumped us on this today...
[#4](https://cdcvs.fnal.gov/redmine/issues/20453#note-4)
Updated by [Kurt Biery](https://cdcvs.fnal.gov/redmine/users/16) [almost 4 years](https://cdcvs.fnal.gov/redmine/projects/artdaq/activity?from=2018-08-01) ago
[Quote](https://cdcvs.fnal.gov/redmine/issues/20453/quoted?journal_id=62475) [Edit](https://cdcvs.fnal.gov/redmine/journals/62475/edit) [Delete](https://cdcvs.fnal.gov/redmine/journals/62475?journal%5Bnotes%5D=)
1) ask RC developers (John)
2) learn where in the DAQI code this happens (Wes)
[#5](https://cdcvs.fnal.gov/redmine/issues/20453#note-5)
Updated by [Kurt Biery](https://cdcvs.fnal.gov/redmine/users/16) [almost 4 years](https://cdcvs.fnal.gov/redmine/projects/artdaq/activity?from=2018-08-01) ago
[Quote](https://cdcvs.fnal.gov/redmine/issues/20453/quoted?journal_id=62478) [Edit](https://cdcvs.fnal.gov/redmine/journals/62478/edit) [Delete](https://cdcvs.fnal.gov/redmine/journals/62478?journal%5Bnotes%5D=)
For future discussion: think about parameters that change in BRs dependent on partition number.
[#6](https://cdcvs.fnal.gov/redmine/issues/20453#note-6)
Updated by [John Freeman](https://cdcvs.fnal.gov/redmine/users/1524) [almost 4 years](https://cdcvs.fnal.gov/redmine/projects/artdaq/activity?from=2018-08-01) ago
[Quote](https://cdcvs.fnal.gov/redmine/issues/20453/quoted?journal_id=62479) [Edit](https://cdcvs.fnal.gov/redmine/journals/62479/edit) [Delete](https://cdcvs.fnal.gov/redmine/journals/62479?journal%5Bnotes%5D=)
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](https://cdcvs.fnal.gov/redmine/issues/20453#note-7)
Updated by [Kurt Biery](https://cdcvs.fnal.gov/redmine/users/16) [almost 4 years](https://cdcvs.fnal.gov/redmine/projects/artdaq/activity?from=2018-08-17) ago
Status changed from Work in progress to Resolved
Bug #20453
ZMQ connection_out parameter for timing/Felix not working across partitions properly
Added by Wesley Ketchum almost 4 years ago. Updated almost 4 years ago.
0%
Description
Need to verify if configs are correct and/or if DAQInterface is doing bookkeeping properly
Subtasks
Related issues
History
#1 Updated by Kurt Biery almost 4 years ago
#2 Updated by Wesley Ketchum almost 4 years ago
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 almost 4 years ago
Giovanna bumped us on this today...
#4 Updated by Kurt Biery almost 4 years ago
1) ask RC developers (John)
2) learn where in the DAQI code this happens (Wes)
#5 Updated by Kurt Biery almost 4 years ago
For future discussion: think about parameters that change in BRs dependent on partition number.
#6 Updated by John Freeman almost 4 years ago
For DAQInterface v3_00_05s:
zmq_fragment_connection_out is read in lines 108-112 in rc/control/config_functions_local.py:
It overwrites the FHiCL document on lines 518-521 of rc/control/bookkeeping.py:
#7 Updated by Kurt Biery almost 4 years ago