[ADOL-C] Trivial known bug?

Rishi Amrit rishiamrit at gmail.com
Sat Sep 15 16:04:23 EDT 2012


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



More information about the ADOL-C mailing list