Reading a file with many subfiles fails
Created by: pnorbert
I thought this was addressed before but I don't find an issue for it. I have an XGC output with 1024 subfiles on a KNL machine. Trying to bpls dump a variable that is written from all processes fails when opening too many subfiles.
$ bpls -l xgc.restart.00006.bp/ -d inum_arr -n 16
int32_t inum_arr {1024} = 2293 / 4061532
bpls caught an exception
ERROR: couldn't open file xgc.restart.00006.bp/data.1019, check permissions or path existence, in call to POSIX open
$ ls -l xgc.restart.00006.bp/data.1019
-rw-r----- 1 n55002 gn55 321625842 Dec 18 11:50 xgc.restart.00006.bp/data.1019
$ bp4dbg.py xgc.restart.00006.bp/data.1019
dumps a perfectly fine data file.