Error in running mt_prep_snap in Linux

in case you are still in this trouble.

several tips you may check:

  1. use csh other than bash. The mt_prep_snap seems not working in bash but go smooth in csh.
  2. check if the segmentation error were casued by calamp.c. If it is, then you have to downgrade you gcc and g++ compiler. I did this in fedora 30 with default gcc version 9.2x, the calamp.c program intends to use 4.3.x version. However, I managed to recompile it using gcc-7.4.0 version and that get rid of the segmentation fault.
  3. feed mt_prep_snap’s second parameter(data folder) with absolute path, do not use relative path.

I digged these out after 2 weeks of struggling and it seems everthing goes ok so far. I am waiting for the finish of stamps process in matlab:)

2 Likes