[ADOL-C] Trivial known bug?

Antonello Lobianco antonello at lobianco.org
Wed Sep 19 15:40:27 EDT 2012


Hello, have u sorted it out?
If you are developing a sparse model be aware that the adol-c examples
have some problems.
You can use the bocop.org implementation of  generate_tapes() together
with the latest version of colpack (1.0.8).
They should works without any valgrind errors.

Antonello

2012/9/15, Rishi Amrit <rishiamrit at gmail.com>:
> On 09/15/2012 02:59 PM, Andrea Walther wrote:
>> Hi Rishi,
>>
>> we just changed the whole strategy for the Hessian
>> sparsity pattern to improve efficiency considerably.
>>
>> Therefore, the routine extend_nonlinearity_domain_binary_step
>> that causes the error is no longer contained in the most recent
>> ADOL-C source.
>>
>> Could you try this version contained in the trunk directory
>> and see whether it works for your large scale example?
>> That would be very interesting for us!
>
> Hello Andrea,
>
>     Thanks for your note. I have been trying to find a working version
> in the svn trunk. The latest version (345) gives the following error
> during compile:
>
> make[6]: Leaving directory `/opt/adolc/trunk'
>    CC     nonl_ind_forward_t.lo
> In file included from nonl_ind_forward_t.c:17:0:
> ./uni5_for.c: In function 'nonl_ind_forward_tight':
> ./uni5_for.c:918:17: warning: format '%d' expects argument of type
> 'int', but argument 6 has type 'size_t' [-Wformat]
> ./uni5_for.c:918:17: warning: format '%d' expects argument of type
> 'int', but argument 7 has type 'size_t' [-Wformat]
> ./uni5_for.c:3870:4: warning: unknown conversion type character ',' in
> format [-Wformat]
> ./uni5_for.c:3870:4: warning: unknown conversion type character 0xa in
> format [-Wformat]
> ./uni5_for.c:3875:36: error: 'ind_dom' undeclared (first use in this
> function)
> ./uni5_for.c:3875:36: note: each undeclared identifier is reported only
> once for each function it appears in
> ./uni5_for.c:3903:4: warning: unknown conversion type character ',' in
> format [-Wformat]
> ./uni5_for.c:3903:4: warning: unknown conversion type character 0xa in
> format [-Wformat]
> ./uni5_for.c:4224:17: warning: implicit declaration of function
> 'extend_nonlinearity_domain_binary' [-Wimplicit-function-declaration]
> make[5]: *** [nonl_ind_forward_t.lo] Error 1
> make[5]: Leaving directory `/opt/adolc/trunk/ADOL-C/src'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/opt/adolc/trunk/ADOL-C/src'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/opt/adolc/trunk/ADOL-C/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/opt/adolc/trunk/ADOL-C'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/opt/adolc/trunk/ADOL-C'
> make: *** [all-recursive] Error 1
>
>
> Could you possibly point me to a working revision that I can try ?
>
> Please let me know.
>
> Thanks,
>
> Kind regards,
> Rishi
>
> _______________________________________________
> ADOL-C mailing list
> ADOL-C at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/adol-c
>


-- 
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 <http://antonello.lobianco.org/>



More information about the ADOL-C mailing list