Changes between Version 5 and Version 6 of debugging_tips


Ignore:
Timestamp:
12/05/19 15:41:09 (5 years ago)
Author:
jdquinn
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • debugging_tips

    v5 v6  
    4646Now that we have run one or more tests, we can inspect contents of the binary input file by running,
    4747{{{
    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>]
    4949}}}
    5050
    5151If 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,
    5252{{{
    53 diff path/to/BinRead_output_1 path/to/BinRead_output_2
     53diff <output_file> <output_file>
    5454}}}
    5555