GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » NUSTAR » NUSTAR PRESPEC » prespec code (prespec code messages)
prespec code [message #17292] Tue, 16 September 2014 08:45 Go to next message
RiccardoAvigo is currently offline  RiccardoAvigo
Messages: 14
Registered: July 2014
Location: Milano
occasional visitor
From: *mi.infn.it
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
Re: prespec code [message #17294 is a reply to message #17292] Tue, 16 September 2014 11:25 Go to previous messageGo to next message
miree is currently offline  miree
Messages: 71
Registered: June 2014
continuous participant
From: *ikp.physik.tu-darmstadt.de
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.
Re: prespec code [message #17295 is a reply to message #17294] Tue, 16 September 2014 11:36 Go to previous messageGo to next message
RiccardoAvigo is currently offline  RiccardoAvigo
Messages: 14
Registered: July 2014
Location: Milano
occasional visitor
From: *mi.infn.it
Thank you very much,

it works!!

thanks again,

cheers,


Riccardo
Re: prespec code [message #17941 is a reply to message #17292] Mon, 23 February 2015 12:54 Go to previous messageGo to next message
a_boso is currently offline  a_boso
Messages: 16
Registered: July 2014
occasional visitor
From: *cust.vodafonedsl.it
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 config: In file ./Daq/unpack_lycca.config line 26: library LYCCA has no unpacker with name v785
module file is not open
...

and so on..

So it is a problem related with GOMP_parallel_end which doesn't permit to load the libprespecLYCCA.so library; it seems OpenMP was not properly linked during the compilation, or something similar; do you have any ideas on how to fix it?

Thank you,
Cheers,

Alberto


Re: prespec code [message #17943 is a reply to message #17941] Mon, 23 February 2015 13:39 Go to previous messageGo to next message
miree is currently offline  miree
Messages: 71
Registered: June 2014
continuous participant
From: *ikp.physik.tu-darmstadt.de
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
Re: prespec code [message #17944 is a reply to message #17943] Mon, 23 February 2015 15:22 Go to previous message
a_boso is currently offline  a_boso
Messages: 16
Registered: July 2014
occasional visitor
From: *cust.vodafonedsl.it
Now it works!!

Thank you very much!!

Alberto
Previous Topic: Lycca mh-TDC scintillators analysis
Next Topic: PSA-hit Energy
Goto Forum:
  


Current Time: Sun Jun 16 23:24:39 CEST 2024

Total time taken to generate the page: 0.00777 seconds