Opened 5 years ago

Closed 5 years ago

#5758 closed enhancement (fixed)

Add separate logging of global homotopy solver

Reported by: Francesco Casella Owned by: Andreas Heuermann
Priority: high Milestone: 1.16.0
Component: Run-time Version:
Keywords: Cc: Karim Adbdelhak

Description

When dealing with initialization of models, getting some feedback on the homotopy process (when it starts, the step it takes, if it succeeds) is crucial. Currently, you can only get it by turning on LOG_INIT, which however produces a lot of other information, which prevents us to get some information on the success of homotopy on the Jenkins test rus.

Can we introduce a LOG_GLOBAL_HOMOTOPY flag that only turns on the homotopy process information?

Change History (5)

comment:1 by Andreas Heuermann, 5 years ago

That's a good idea. I'd like to go a step further and introduce a LOG_INIT_V flag and rename your flag LOG_GLOBAL_HOMOTOPY to LOG_INIT_HOMOTOPY. So LOG_INIT tells the user what is happening and LOG_INIT_V will print the actual values of e.g. primary start-values. And everything regarding homotopy on initialization will be moved to LOG_INIT_HOMOTOPY.

So LOG_INIT and LOG_SOTI are subsets of LOG_INIT_V.
LOG_INIT_HOMOTOPY is a subset of LOG_INIT.

So when using only LOG_INIT_HOMOTOPY you get only the initialization infos for homotpy solvers.

comment:2 by Andreas Heuermann, 5 years ago

See PR #654.

comment:3 by Francesco Casella, 5 years ago

Sounds good. I'll try this ASAP on the next nightly build.

comment:4 by Andreas Heuermann, 5 years ago

@casella Is this solution good or do you need more loging informations?

comment:5 by Francesco Casella, 5 years ago

Resolution: fixed
Status: newclosed

Just fine, thanks!

Note: See TracTickets for help on using tickets.