[ofa-general] Log output upon death

Hal Rosenstock halr at voltaire.com
Sun Jun 3 12:27:22 PDT 2007


On Sun, 2007-06-03 at 13:29, Frank Olaf Sem-Jacobsen wrote:
> Time for my second naive question (too bad the archives do not have any
> search function).
> 
> Much as expected RunSimTest dies for an unknown reason while routing my
> topology, and I am attempting to debug by adding various debug log
> entries.  However, as things seem to be threaded (?) there does not seem
> to be any direct relationship between where the application fails and
> where the log output stops, the log usually stops abruptly in the middle
> of a line.  Also, the log entries stop in various parts of the code
> instead of the same place each time (I could though have many errors ;) ).
> 
> Is there a possible way to synchronise this such that the log file will
> reflect the last log entry by opensm before it dies?

There's force_log_flush in opensm.opts which should help with this.

-- Hal

> Are there any
> other ingenious ways of debugging the route building function?
> 
> As always, any help is greatly appreciated.




More information about the general mailing list