filelock & bugfix for sysmatrix storage directory
Created by: dyang37
Added the same filelock mechanism as in svmbir. Tested by computing and writing sysmatrix in multiple processes at the same time.
Fixed bug of wrong sysmatrix storage directory.
- Before:
~/.cache/mbircone/sysmatrix/
is created, but sysmatrix files are stored in~/.cache/mbircone/
directory. - Now: sysmatrix files are stored in
~/.cache/mbircone/sysmatrix/
directory.