Thanks for the quick answer.<br>I checked out ADOL-C trunk (rev 330) but now I have a compile-time error using it with ColPack 1.0.6:<br><br><span style="font-family:courier new,monospace"> CXX sparsedrivers.lo</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">sparsedrivers.cpp: In function 'int sparse_jac(short int, int, int, int, const double*, int*, unsigned int**, unsigned int**, double**, int*)':</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">sparsedrivers.cpp:386:14: error: 'class ColPack::JacobianRecovery1D' has no member named 'RecoverD2Row_CoordinateFormat_usermem_OMP'</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">sparsedrivers.cpp:388:14: error: 'class ColPack::JacobianRecovery1D' has no member named 'RecoverD2Cln_CoordinateFormat_usermem_OMP'</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">sparsedrivers.cpp: In function 'int sparse_hess(short int, int, int, const double*, int*, unsigned int**, unsigned int**, double**, int*)':</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">sparsedrivers.cpp:615:12: error: 'class ColPack::HessianRecovery' has no member named 'DirectRecover_CoordinateFormat_usermem_OMP'</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">make[5]: *** [sparsedrivers.lo] Error 1</span><br><br>I configured ADOL-C with:<br><span style="font-family:courier new,monospace"> ./configure --enable-docexa --enable-addexa --enable-sparse --prefix=/usr</span><br>
<br>And this resulted in the following configuration report:<br><span style="font-family:courier new,monospace">-----------------------------------------------------------------------------</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">Configuration:</span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> C compiler: gcc</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> C++ compiler: g++</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> Linker: /usr/bin/ld</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> Source code location: /home/lobianco/programmi/osindep/ADOL-C/trunk</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> Install path: /usr</span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> CFLAGS: -O2 </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> CXXFLAGS: -O2 </span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> Use ADOL-C debug mode: no</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> Use ADOL-C hard debug mode: no</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> Use ADOL-C adouble zeroing mode: no</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> Use ADOL-C safe extern mode: no</span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> Build sparse drivers: yes</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> Build with ColPack: yes</span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> Build documented examples: yes</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> Build additional examples: yes</span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> See ADOL-C/src/config.h for further configuration information.</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">-----------------------------------------------------------------------------</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> Prefix /usr not writable</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> please run ./configure --prefix=DIR</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> with a writable directory path otherwise administrator privilages</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> will be required to run `make install'</span><br>
<br><br>I then configured ColPack with:<br><span style="font-family:courier new,monospace">./configure --prefix=/usr</span><br><br>And this is the ColPack configuration report:<br><span style="font-family:courier new,monospace">Configuration:</span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> C compiler: gcc</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> C++ compiler: g++</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> Linker: /usr/bin/ld</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> Source code location: /home/lobianco/programmi/osindep/ColPack-1.0.6</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> Install path: /usr</span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> CFLAGS: </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> CXXFLAGS: </span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> Use OpenMP: false</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> Build examples: false</span><br><br>I also tried to configure ColPack with --enable-openmp. It went successful, but the error compiling ADOL-C remained.<br>
<br>Antonello<br><br><br><br><div class="gmail_quote">2012/7/2 Andrea Walther <span dir="ltr"><<a href="mailto:andrea.walther@uni-paderborn.de" target="_blank">andrea.walther@uni-paderborn.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Antonello,<br>
<br>
thanks for your message. I will update the example files<br>
correspondingly.<br>
<br>
I just tried to reproduce your error. I am using<br>
<br>
* the ADOL-C version out of the trunk directory<br>
* ColPack 1.0.6<br>
* Ipopt 3.10.2<br>
* debian squeeze 6.0.5<br>
<br>
and did not get the errors you described. Could you check whether<br>
you get these errors with the trunk version of ADOL-C?<br>
<br>
Thanks<br>
<br>
Andrea<br>
<br>
--<br>
Prof. Dr. Andrea Walther<br>
Lehrstuhl fuer Mathematik und ihre Anwendungen<br>
Institut fuer Mathematik<br>
Universitaet Paderborn<br>
Warburger Str. 100<br>
33098 Paderborn<br>
<br>
Email: <a href="mailto:andrea.walther@uni-paderborn.de">andrea.walther@uni-paderborn.de</a><br>
Phone: <a href="tel:%2B%2B49%205251%20602721" value="+495251602721">++49 5251 602721</a><br>
Fax: <a href="tel:%2B%2B49%205251%20603728" value="+495251603728">++49 5251 603728</a><br>
<br>
**********<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Antonello Lobianco<br>INRA, Laboratoire d'Economie Forestière<br>14 Rue Girardet - 54000 Nancy, France<br>Tel: +33.652392310<br>Email: <a href="mailto:antonello.lobianco@nancy-engref.inra.fr" target="_blank">antonello.lobianco@nancy-engref.inra.fr</a><br>
<a href="http://antonello.lobianco.org/" target="_blank">http://antonello.lobianco.org</a><br>