Changes between Version 11 and Version 12 of Documentation/UserGuide/HangCrash


Ignore:
Timestamp:
2020-05-29T16:37:13+02:00 (4 years ago)
Author:
aducharne
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/HangCrash

    v11 v12  
    4444}}} 
    4545 
    46 This puts everything stored in the buffer of numout into the file.  So if you add some write statements and put this call right after them, if you see the write statement in the output file, you know the processor made it to that write statement.  If you don't see the write statement, the processor did not make it there.  "flush" is not used in generally because it slows down the code a bit, but in debugging it is very useful. 
     46This call to [https://gcc.gnu.org/onlinedocs/gcc-4.9.4/gfortran/FLUSH.html flush] puts everything stored in the memory buffer into the file linked to numout.  So if you add some write statements and put this call right after them, if you see the write statement in the output file (standard output if numout is 6 but you can choose another one), you know the processor made it to that write statement.  If you don't see the result of the write statements, the processor did not make it there.  "flush" is not used in generally because it slows down the code a bit, but in debugging it is very useful. 
    4747