[ADOL-C] Crash report putting together ADOL-C, Ipopt and.. ColPack

Kshitij Kulshreshtha kshitij at math.upb.de
Mon Jul 2 08:49:35 EDT 2012


Hello,

as far as the installation problem was concerned, in order for ADOL-C to
find ColPack you need to provide the configure script the flag
--with-colpack=DIR
The --prefix flag is only the destination for ADOL-C to be installed.

As far as the compilation problem is concerned, please update the svn
trunk to revision 331.

Regards.
Kshitij.


As on 2012-07-02 10:41, Antonello Lobianco did write:
> Hello,
>  I'm very new to ADOL-C. I'm trying to use it in the following environment:
> - Linux 32bit ubuntu 12.04
> - ADOL-C 2.3.0
> - Ipopt 3.10.2
> - ColPack 1.0.6
> 
> The first problem I had, the ADOL-C could no find the ColPack source,
> even if I placed it in [ADOL-C SRC]/ThirdParty/ColPack. I had to first
> make and install ColPack in /usr, then the ADOL-C configure (also with
> --prefix=/usr) had no problems find it.
> 
> Then I run the ipopt examples, and, as far as I include the #include
> <cassert> directive, I am able to run both the LuksanVlcek1 and
> MittelmannDistCntrlNeumA examples. Great !
> However, when I try their equivalent *_sparce version, I got the program
> crashing.
> 
> The call stack is as follow:
> 
> 0   
> ColPack::JacobianRecovery1D::RecoverD2Cln_CoordinateFormat_usermem   
> JacobianRecovery1D.cpp    514    0xb617cdb4   
> 1    sparse_jac    sparsedrivers.cpp    388    0xb7d8ec16   
> 2    MyADOLC_sparseNLP::eval_jac_g    Adolc_debugtest.cpp    275   
> 0x8053a43   
> 3    Ipopt::TNLPAdapter::internal_eval_jac_g(bool)   
> /usr/lib/libipopt.so.1    0    0xb7dfa35f   
> 4    Ipopt::TNLPAdapter::Eval_jac_c(Ipopt::Vector const&,
> Ipopt::Matrix&)    /usr/lib/libipopt.so.1    0    0xb7dfcf8b   
> 5   
> Ipopt::GradientScaling::DetermineScalingParametersImpl(Ipopt::SmartPtr<Ipopt::VectorSpace
> const>, Ipopt::SmartPtr<Ipopt::VectorSpace const>,
> Ipopt::SmartPtr<Ipopt::VectorSpace const>,
> Ipopt::SmartPtr<Ipopt::MatrixSpace const>,
> Ipopt::SmartPtr<Ipopt::MatrixSpace const>,
> Ipopt::SmartPtr<Ipopt::SymMatrixSpace const>, Ipopt::Matrix const&,
> Ipopt::Vector const&, Ipopt::Matrix const&, Ipopt::Vector const&,
> double&, Ipopt::SmartPtr<Ipopt::Vector>&,
> Ipopt::SmartPtr<Ipopt::Vector>&, Ipopt::SmartPtr<Ipopt::Vector>&)   
> /usr/lib/libipopt.so.1    0    0xb7e5d697   
> 6   
> Ipopt::StandardScalingBase::DetermineScaling(Ipopt::SmartPtr<Ipopt::VectorSpace
> const>, Ipopt::SmartPtr<Ipopt::VectorSpace const>,
> Ipopt::SmartPtr<Ipopt::VectorSpace const>,
> Ipopt::SmartPtr<Ipopt::MatrixSpace const>,
> Ipopt::SmartPtr<Ipopt::MatrixSpace const>,
> Ipopt::SmartPtr<Ipopt::SymMatrixSpace const>,
> Ipopt::SmartPtr<Ipopt::MatrixSpace const>&,
> Ipopt::SmartPtr<Ipopt::MatrixSpace const>&,
> Ipopt::SmartPtr<Ipopt::SymMatrixSpace const>&, Ipopt::Matrix const&,
> Ipopt::Vector const&, Ipopt::Matrix const&, Ipopt::Vector const&)   
> /usr/lib/libipopt.so.1    0    0xb7ea6838   
> 7   
> Ipopt::OrigIpoptNLP::InitializeStructures(Ipopt::SmartPtr<Ipopt::Vector>&,
> bool, Ipopt::SmartPtr<Ipopt::Vector>&, bool,
> Ipopt::SmartPtr<Ipopt::Vector>&, bool, Ipopt::SmartPtr<Ipopt::Vector>&,
> bool, Ipopt::SmartPtr<Ipopt::Vector>&, bool,
> Ipopt::SmartPtr<Ipopt::Vector>&, Ipopt::SmartPtr<Ipopt::Vector>&)   
> /usr/lib/libipopt.so.1    0    0xb7eb141a   
> 8    Ipopt::IpoptData::InitializeDataStructures(Ipopt::IpoptNLP&, bool,
> bool, bool, bool, bool)    /usr/lib/libipopt.so.1    0    0xb7e87bab   
> 9    Ipopt::DefaultIterateInitializer::SetInitialIterates()   
> /usr/lib/libipopt.so.1    0    0xb7e4d2d0   
> 10    Ipopt::IpoptAlgorithm::InitializeIterates()   
> /usr/lib/libipopt.so.1    0    0xb7e5f83d   
> 11    Ipopt::IpoptAlgorithm::Optimize(bool)    /usr/lib/libipopt.so.1   
> 0    0xb7e64114   
> 12    Ipopt::IpoptApplication::call_optimize()   
> /usr/lib/libipopt.so.1    0    0xb7ded769   
> 13    Ipopt::IpoptApplication::OptimizeNLP(Ipopt::SmartPtr<Ipopt::NLP>
> const&, Ipopt::SmartPtr<Ipopt::AlgorithmBuilder>&)   
> /usr/lib/libipopt.so.1    0    0xb7df17a1   
> 14    Ipopt::IpoptApplication::OptimizeNLP(Ipopt::SmartPtr<Ipopt::NLP>
> const&)    /usr/lib/libipopt.so.1    0    0xb7df2944   
> 15    Ipopt::IpoptApplication::OptimizeTNLP(Ipopt::SmartPtr<Ipopt::TNLP>
> const&)    /usr/lib/libipopt.so.1    0    0xb7ded224   
> 16    Sandbox::testAdolc    Sandbox.cpp    768    0x808b312   
> 17    main    main.cpp    52    0x806a45d   
> 
> 
> Any hint ?
> 
> Thank you,
>   Antonello
> 
> -- 
> Antonello Lobianco
> INRA, Laboratoire d'Economie Forestière
> 14 Rue Girardet - 54000 Nancy, France
> Tel: +33.652392310
> Email: antonello.lobianco at nancy-engref.inra.fr
> <mailto:antonello.lobianco at nancy-engref.inra.fr>
> http://antonello.lobianco.org <http://antonello.lobianco.org/>
> 
> 
> _______________________________________________
> ADOL-C mailing list
> ADOL-C at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/adol-c
> 

-- 
Dr. Kshitij Kulshreshtha

Institut für Mathematik,
Universität Paderborn,
Warburger Straße 100,
33098 Paderborn.

Büro: A3.235

Privatanschrift:
Arnikaweg 62
33100 Paderborn.




More information about the ADOL-C mailing list