[ADOL-C] Crash report putting together ADOL-C, Ipopt and.. ColPack
Antonello Lobianco
antonello at lobianco.org
Mon Jul 2 08:42:15 EDT 2012
Thanks for the quick answer.
I checked out ADOL-C trunk (rev 330) but now I have a compile-time error
using it with ColPack 1.0.6:
CXX sparsedrivers.lo
sparsedrivers.cpp: In function 'int sparse_jac(short int, int, int, int,
const double*, int*, unsigned int**, unsigned int**, double**, int*)':
sparsedrivers.cpp:386:14: error: 'class ColPack::JacobianRecovery1D' has no
member named 'RecoverD2Row_CoordinateFormat_usermem_OMP'
sparsedrivers.cpp:388:14: error: 'class ColPack::JacobianRecovery1D' has no
member named 'RecoverD2Cln_CoordinateFormat_usermem_OMP'
sparsedrivers.cpp: In function 'int sparse_hess(short int, int, int, const
double*, int*, unsigned int**, unsigned int**, double**, int*)':
sparsedrivers.cpp:615:12: error: 'class ColPack::HessianRecovery' has no
member named 'DirectRecover_CoordinateFormat_usermem_OMP'
make[5]: *** [sparsedrivers.lo] Error 1
I configured ADOL-C with:
./configure --enable-docexa --enable-addexa --enable-sparse --prefix=/usr
And this resulted in the following configuration report:
-----------------------------------------------------------------------------
Configuration:
C compiler: gcc
C++ compiler: g++
Linker: /usr/bin/ld
Source code location:
/home/lobianco/programmi/osindep/ADOL-C/trunk
Install path: /usr
CFLAGS: -O2
CXXFLAGS: -O2
Use ADOL-C debug mode: no
Use ADOL-C hard debug mode: no
Use ADOL-C adouble zeroing mode: no
Use ADOL-C safe extern mode: no
Build sparse drivers: yes
Build with ColPack: yes
Build documented examples: yes
Build additional examples: yes
See ADOL-C/src/config.h for further configuration information.
-----------------------------------------------------------------------------
Prefix /usr not writable
please run ./configure --prefix=DIR
with a writable directory path otherwise administrator privilages
will be required to run `make install'
I then configured ColPack with:
./configure --prefix=/usr
And this is the ColPack configuration report:
Configuration:
C compiler: gcc
C++ compiler: g++
Linker: /usr/bin/ld
Source code location:
/home/lobianco/programmi/osindep/ColPack-1.0.6
Install path: /usr
CFLAGS:
CXXFLAGS:
Use OpenMP: false
Build examples: false
I also tried to configure ColPack with --enable-openmp. It went successful,
but the error compiling ADOL-C remained.
Antonello
2012/7/2 Andrea Walther <andrea.walther at uni-paderborn.de>
> Hi Antonello,
>
> thanks for your message. I will update the example files
> correspondingly.
>
> I just tried to reproduce your error. I am using
>
> * the ADOL-C version out of the trunk directory
> * ColPack 1.0.6
> * Ipopt 3.10.2
> * debian squeeze 6.0.5
>
> and did not get the errors you described. Could you check whether
> you get these errors with the trunk version of ADOL-C?
>
> Thanks
>
> Andrea
>
> --
> Prof. Dr. Andrea Walther
> Lehrstuhl fuer Mathematik und ihre Anwendungen
> Institut fuer Mathematik
> Universitaet Paderborn
> Warburger Str. 100
> 33098 Paderborn
>
> Email: andrea.walther at uni-paderborn.de
> Phone: ++49 5251 602721
> Fax: ++49 5251 603728
>
> **********
>
>
--
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
http://antonello.lobianco.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/adol-c/attachments/20120702/f2db03af/attachment.html>
More information about the ADOL-C
mailing list