[Insight-users] How to disable the lbfgs failure information

Tomáš Kazmar Tomash.Kazmar at seznam.cz
Sun Mar 16 08:59:09 EDT 2008


Hi,

#       I am wondering me how to disable the following output information:
#  IFLAG= -1  LINE SEARCH FAILED. SEE DOCUMENTATION OF ROUTINE MCSRCH
# ERROR RETURN
#  OF LINE SEARCH: INFO= 6 POSSIBLE CAUSES: FUNCTION OR GRADIENT ARE
# INCORRECT OR
# INCORRECT TOLERANCESvnl_lbfgs: Error. Netlib routine lbfgs failed.
#      which is sometimes produced by vnl_lbgfs::minimize() even when the
# verbose is turned off.

I think you cannot turn this without recompiling, the only option is to comment out
the printf calls at lines 706 to 754 in Utilities/vxl/v3p/netlib/opt/lbfgs.c.

This is also related to the bug report:
http://www.itk.org/Bug/view.php?id=5996


Regards,
Tomas


More information about the Insight-users mailing list