GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: prespec code
items: Re: prespec code

prespec code
type: item
description: Hi everyone, I have recently installed prespec code on the server I use for the data analysis. It works fine but I received a lot of messages concerning the buffer. An example of output message is here: /data/avigo/62Fe_ag63_1081.lmd opened plugin libprespecLYCCA.so trying to open file /data/avigo/62Fe_ag63_1081.lmdcheck header: swap=0, header=1, buffer=0, size=32768 Check buffer: swap=0, header=1, buffer=1, size=32768 Read header again, 32768 bytes type 2000, subtype 1 strings 12 41 8 0 0 0 Allocate 32768 bytes -> success Read buffer 32768 Buffer: 16358 words Read buffer 32768 Buffer: 16360 words Read buffer 32768 Buffer: 16360 words Read buffer 32768 Buffer: 16360 words Read buffer 32768 Buffer: 16360 words Read buffer 32768 Buffer: 16360 words Read buffer 32768 and so on.... may I ask you if this is a problem for the sorting and how could I solve it? thanks in advance for the help, cheers, Riccardo
creator: RiccardoAvigo
date: 2014-09-16T06:45:10-00:00

Re: prespec code
type: item
description: Hi Riccardo, this is no problem for the sorting. It is just polluting the terminal with text. If you want to get rid of it, you have to remove 2 lines (line 2070 and 1001 in the file eventapiV50/f_evt.c 2069 l_temp=read(ps_chan->l_channel_no,pc_temp, ps_chan->l_io_buf_size); 2070 // printf("Read buffer %d\n",l_temp); 2071 if(l_temp == 0) return(GETEVT__NOMORE); 1000 if(ps_chan->ps_bufhe->l_dlen <= MAX__DLEN)l_used=ps_chan->ps_bufhe->i_used; 1001 // printf("Buffer: %d words\n",l_used); 1002 ps_chan->l_buf_posi = ps_chan->l_io_buf_posi + sizeof(s_bufhe); Then recompile the eventapi and recompile prespec.
creator: miree
date: 2014-09-16T09:25:13-00:00

Re: prespec code
type: item
description: Thank you very much, it works!! thanks again, cheers, Riccardo
creator: RiccardoAvigo
date: 2014-09-16T09:36:23-00:00

Re: prespec code
type: item
description: Hi everybody, I was trying to download the last version of the code, so I did: - agatagsi@lx-pool.gsi.de:git/prespec - ./configure --prefix=$HOME --with-gsievt-lib-path=/home/boso/prespec/eventapiV50 --with-gsievt-include-path=/home/boso/prespec/eventapiV50 - make install I set the environment variables; I check and I have /home/boso/lib in the LD_LIBRARY_PATH Everything seems fine; but when I launch the code I get the following errors: cannot open module file "libprespecLYCCA.so": /home/boso/lib/libprespecLYCCA.so: undefined symbol: GOMP_parallel_end module file is not open ERROR: Controller config: In file ./Daq/unpack_user.config line 22: library LYCCA has no unpacker with name v830 module file is not open ERROR: Controller config: In file ./Daq/unpack_user.config line 23: library LYCCA has no unpacker with name v1290TMM ERROR: Controller config: In file ./Daq/unpack_user.config line 27: couldn't find any modules module file is not open ERROR: Controller config: In file ./Daq/unpack_agata.config line 31: library LYCCA has no unpacker with name v1290TMM module file is not open ERROR: Controller config: In file ./Daq/unpack_agata.config line 32: library LYCCA has no unpacker with name v830 ERROR: Controller config: In file ./Daq/unpack_agata.config line 36: couldn't find any modules module file is not open ERROR: Controller config: In file ./Daq/unpack_user.config line 22: library LYCCA has no unpacker with name v830 module file is not open ERROR: Controller config: In file ./Daq/unpack_user.config line 23: library LYCCA has no unpacker with name v1290TMM ERROR: Controller config: In file ./Daq/unpack_user.config line 27: couldn't find any modules module file is not open ERROR: Controller config: In file ./Daq/unpack_lycca.config line 24: library LYCCA has no unpacker with name v785 module file is not open ERROR: Controller config: In file ./Daq/unpack_lycca.config line 25: library LYCCA has no unpacker with name v785 module file is not open ERROR: Controller confi…
creator: a_boso
date: 2015-02-23T11:54:49-00:00

Re: prespec code
type: item
description: Hi Alberto, some time ago I used OpenMP to make selfcalibration of DSSSD faster on multicore machines. I removed this now since it seems to causes problems one some systems. You can pull again. The error should be gone.... post again if not Michael
creator: miree
date: 2015-02-23T12:39:30-00:00

Re: prespec code
type: item
description: Now it works!! Thank you very much!! Alberto
creator: a_boso
date: 2015-02-23T14:22:33-00:00