cbm-fles / flesnet

CBM FLES Timeslice Building
7 stars 22 forks source link

tsclient fails to handle input archive sequences #154

Open cuveland opened 7 months ago

cuveland commented 7 months ago

The tsclient application sometimes fails with a fatal error when using input archive sequences with the "%n" specifier.

Example output:

cuveland@node8:/storage/1/data$ /home/cuveland/src/flesnet/build/tsclient -i 2671_node8_02_%n.tsa -a
[22:03:25] INFO: total timeslices processed: 0
[22:03:25] FATAL: vector::reserve
cuveland@node9:/storage/1/data$ tsclient -a -i 2638_node9_00_%n.tsa
[12:46:48] INFO: total timeslices processed: 0
[12:46:48] FATAL: std::bad_alloc
cuveland@node9:/storage/1/data$ tsclient -a -i 2638_node9_0_%n.tsa
[12:47:07] FATAL: glob(): no matches found for pattern: "2638_node9_0_0000.tsa"
cuveland@node9:/storage/1/data$ tsclient -a -i 2638_node9_00_%n.tsa
[12:47:12] INFO: total timeslices processed: 0
[12:47:12] FATAL: std::bad_alloc
cuveland@node9:/storage/1/data$

Can we easily fix this?

cuveland commented 2 months ago

Tried today on node8 with different versions of flesnet: cuveland@node8:~$ tsclient -a -i /storage/1/data/2884_node8_02_%n.tsa