Changes between Version 5 and Version 6 of debugging_tips
- Timestamp:
- 12/05/19 15:41:09 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
debugging_tips
v5 v6 46 46 Now that we have run one or more tests, we can inspect contents of the binary input file by running, 47 47 {{{ 48 scripts/BinRead.py execution/test<test_num>-<date>-<time>-<pid>/test<test_num>.bin 48 $ISSM_DIR/scripts/BinRead.py -f <bin_file> [-o <output_file>] 49 49 }}} 50 50 51 51 If we wish to compare the input files for, say, MATLAB versus Python runs of the same test, we can redirect the output of `BinRead.py` to a text file, then run, 52 52 {{{ 53 diff path/to/BinRead_output_1 path/to/BinRead_output_253 diff <output_file> <output_file> 54 54 }}} 55 55