[ADOL-C] bug in the trunk version ?
Kshitij Kulshreshtha
kshitij at math.upb.de
Fri Aug 27 07:11:33 EDT 2010
Hi,
As on 2010-08-26 00:20, Rishi Amrit did write:
> Hi,
>
> I updated the trunk version of ADOL-C (to current version 148) and I
> get the following error when I run make:
>
> Making all in ADOL-C
> Making all in src
> Making all in drivers
> CC drivers.o
> CC driversf.o
> CC odedrivers.o
> CC odedriversf.o
> CC taylor.o
> LINK libdrivers.la <http://libdrivers.la>
> Making all in sparse
> CXX sparse_fo_rev.o
> CXX sparsedrivers.o
> sparsedrivers.cpp: In function ‘void generate_seed_jac(int, int,
> unsigned int**, double***, int*, int)’:
> sparsedrivers.cpp:122: error: ‘class
> ColPack::BipartiteGraphPartialColoringInterface’ has no member named
> ‘GenerateSeedJacobian_unmanaged’
> sparsedrivers.cpp:125: error: ‘class
> ColPack::BipartiteGraphPartialColoringInterface’ has no member named
> ‘GenerateSeedJacobian_unmanaged’
> sparsedrivers.cpp: In function ‘void generate_seed_hess(int, unsigned
> int**, double***, int*, int)’:
> sparsedrivers.cpp:198: error: ‘class ColPack::GraphColoringInterface’
> has no member named ‘GenerateSeedHessian_unmanaged’
> sparsedrivers.cpp:201: error: ‘class ColPack::GraphColoringInterface’
> has no member named ‘GenerateSeedHessian_unmanaged’
> sparsedrivers.cpp: In function ‘int sparse_jac(short int, int, int, int,
> const double*, int*, unsigned int**, unsigned int**, double**, int*)’:
> sparsedrivers.cpp:308: error: no matching function for call to
> ‘ColPack::BipartiteGraphPartialColoringInterface::GenerateSeedJacobian(double***,
> int*, int*, const char [14], const char [25])’
> /opt/ADOLC/trunk/ThirdParty/ColPack/include/BipartiteGraphPartialColoringInterface.h:127:
> note: candidates are: void
> ColPack::BipartiteGraphPartialColoringInterface::GenerateSeedJacobian(unsigned
> int**, int, int, double***, int*, int*, std::string, std::string)
> sparsedrivers.cpp:314: error: no matching function for call to
> ‘ColPack::BipartiteGraphPartialColoringInterface::GenerateSeedJacobian(double***,
> int*, int*, const char [14], const char [28])’
> /opt/ADOLC/trunk/ThirdParty/ColPack/include/BipartiteGraphPartialColoringInterface.h:127:
> note: candidates are: void
> ColPack::BipartiteGraphPartialColoringInterface::GenerateSeedJacobian(unsigned
> int**, int, int, double***, int*, int*, std::string, std::string)
> sparsedrivers.cpp: In function ‘int sparse_hess(short int, int, int,
> double*, int*, unsigned int**, unsigned int**, double**, int*)’:
> sparsedrivers.cpp:468: error: no matching function for call to
> ‘ColPack::GraphColoringInterface::GenerateSeedHessian(double***, int*,
> int*, const char [14], const char [30])’
> /opt/ADOLC/trunk/ThirdParty/ColPack/include/GraphColoringInterface.h:130: note:
> candidates are: void
> ColPack::GraphColoringInterface::GenerateSeedHessian(unsigned int**,
> int, double***, int*, int*, std::string, std::string)
> sparsedrivers.cpp:471: error: no matching function for call to
> ‘ColPack::GraphColoringInterface::GenerateSeedHessian(double***, int*,
> int*, const char [14], const char [5])’
> /opt/ADOLC/trunk/ThirdParty/ColPack/include/GraphColoringInterface.h:130: note:
> candidates are: void
> ColPack::GraphColoringInterface::GenerateSeedHessian(unsigned int**,
> int, double***, int*, int*, std::string, std::string)
> make[4]: *** [sparsedrivers.lo] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
>
>
> Version 146 compiles fine. Any ideas what part of the code changes makes
> the build fail ?
>
This is due to the changes in the interface provided by ColPack. Please
download the latest ColPack sources and compile ADOL-C trunk using that.
Unfortunately the new ColPack changes are incompatible with revision 146
so you won't be able to use ADOL-C older than revision 147 with new ColPack.
Regards.
--
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