Re: [casper] search demo model+ python script for QDR on ROACH2

2020-12-16 Thread Alec Rust
Hi, have a look at this document and contact me directly if you have
any questions: 
https://docs.google.com/document/d/1tqw4C6uZ6EULl1OykTFL_vQTnK52UBr0aYqTg44E5wg/edit?usp=sharing

Regards
Alec

On Thu, Dec 17, 2020 at 8:16 AM zhang laiyu  wrote:
>
> Hi
>
>I want to test QDR on ROACH2.
>
>From the Casper mail list I found that Henno Kriel had sent such model 
> file + python script to David MacMahon several years ago. Could you sent  a 
> copy to me ?
>
>If anyone have a test and/or demo model for ROACH2 that exercises the QDR  
> chips, please send it to me.
>
>Thanks!
>
> Cheers!
>
> >
> ZHANG Laiyu
> Phone(China)   010-88233078
> Cellphone(China)   13681385567
> E-mail:zhan...@ihep.ac.cn
> Address:   19B Yuquan Road,Shijingshan District,Beijingļ¼ŒChina
> Department:Center for Particle Astrophysics
> Office:Astrophysics Building 205
>
> Institute of High Energy Physics, CAS
> web: http://www.ihep.cas.cn
>
> >
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "casper@lists.berkeley.edu" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to casper+unsubscr...@lists.berkeley.edu.
> To view this discussion on the web visit 
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/41f66a28.c363.1766f57460f.Coremail.zhangly%40ihep.ac.cn.

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAAkZC3gPu7N8pL4pd5oGeTNW9QESBHD%2BZvxPEXMA%2Bf-kvsXqdQ%40mail.gmail.com.


[casper] search demo model+ python script for QDR on ROACH2

2020-12-16 Thread zhang laiyu
Hi   I want to test QDR on ROACH2.From the Casper mail list I found that 
Henno Kriel had sent such model file + python script to David MacMahon several 
years ago. Could you sent  a copy to me ?   If anyone have a test and/or demo 
model for ROACH2 that exercises the QDR  chips, please send it to me.   
Thanks!Cheers!
>
ZHANG Laiyu   
Phone(China)   010-88233078   
Cellphone(China)   13681385567
E-mail:zhan...@ihep.ac.cn
Address:   19B Yuquan Road,Shijingshan District,Beijingļ¼ŒChina
Department:Center for Particle Astrophysics 
Office:Astrophysics Building 205Institute of High Energy Physics, 
CAS  
web: 
http://www.ihep.cas.cn>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/41f66a28.c363.1766f57460f.Coremail.zhangly%40ihep.ac.cn.


[casper] Hashpipe_databuf_* control functions semctl/semop errors.

2020-12-16 Thread Ross Andrew Donnachie
Good day all,

Been working on a hashpipe with a pipeline of network, transposition and 
then disk-dump threads. We have 24 data-buffers that we rotate through. 

An inconsistent (happens after various amounts of time) crash occurs with 
this printout:
-
Tue Dec 15 17:37:19 2020 : Error (hashpipe_databuf_set_filled): semctl 
error [Invalid argument]
Tue Dec 15 17:37:19 2020 : Error (hashpipe_databuf_wait_free_timeout): 
semop error [Invalid argument]
semop: Invalid argument
Tue Dec 15 17:37:19 2020 : Error (hpguppi_atasnap_pktsock_thread): error 
waiting for free databuf [Invalid argument]
Tue Dec 15 17:37:19 2020 : Error (hashpipe_databuf_set_free): semctl error 
[Invalid argument]
Tue Dec 15 17:37:19 2020 : Error (hashpipe_databuf_wait_filled_timeout): 
semop error [Invalid argument]
semop: Invalid argument
Tue Dec 15 17:37:19 2020 : Error (hpguppi_atasnap_pkt_to_FTP_transpose): 
error waiting for input buffer, rv: -2 [Invalid argument] 
---

If this looks at all familiar to anyone then let's tackle the issue at this 
juncture. If not, then there is a little more to tell!

Other times an error is caught but no full printout from hashpipe_error() 
is made:

Code calls:

hpguppi_databuf_data(struct hpguppi_input_databuf *d, int block_id) {
if(block_id < 0 || d->header.n_block < block_id) {
hashpipe_error(__FUNCTION__,
"block_id %s out of range [0, %d)",
block_id, d->header.n_block);
return NULL;



Printout:

Tue Dec 15 17:37:19 2020 : Error 
(hpguppi_databuf_data)~/src/hpguppi_daq/src: 


Only once have I seen the above printout complete showing that 
d->header.n_block = -23135124... Which indicates some deep rooted rot 
somewhere.

I have made some small changes that have gotten us past the occurrence of 
this issue. I'll be retracing the differences to find the critical fix. At 
that point I'll share.

Kind Regards,
Ross

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/bd10cd82-63d1-4d3b-bf4e-78903471df59n%40lists.berkeley.edu.