[ADOL-C] sparse_jac with external function

Kshitij Kulshreshtha kshitij at math.uni-paderborn.de
Thu Jun 22 08:36:55 EDT 2017


Hello,

yes this is expected. There is no sparsity pattern detection support
currently for external functions. Just like there is no higher order
support. (You asked about that in a previous mail).

The callback required for sparsity detection is 'indopro_forward_tight',
which does not exist in any released version of the library. I'm
currently working on a separate project, for which sparsity pattern
detection support for external functions is required. So this may be
available in the near future. However higher order support for external
functions is currently not on my "Near Future TO-DO List". You are
however welcome to submit patches for supporting both or either.

Best wishes
Kshitij Kulshreshtha.

On 06/22/17 14:27, Schneider Emmanuel (LFR) wrote:
> Hello,
> 
>  
> 
> I meet some problem with the sparse_jac function when I use an external
> function.
> 
> I have implemented the 5 callback functions zos_forward, fos_forward,
> fov_forward, fos_reverse and fov_reverse, after what I call the external
> 
> function in a trace.
> 
> All is ok when I call the function jacobian on this trace but with
> sparse_jac I get this message
> 
>  
> 
> ADOL-C fatal error in indopro_forward_s (./uni5_for.c) : no such
> operation 59
> 
> terminate called after throwing an instance of 'FatalError'
> 
>   what():  errorcode=-1 function=indopro_forward_safe file=./uni5_for.c
> line=5288 what=
> 
> Abandon (core dumped)
> 
>  
> 
> Note : I use adol-c release 2.5.2
> 
>  
> 
> Meilleures Salutations / Mit freundlichen Grüßen / Best Regards
> 
> * *
> 
> *Emmanuel SCHNEIDER *
> 
> BE système d'entrainement
> 
>  
> 
> *Liebherr-France SAS*
> 2, avenue Joseph Rey - B.P. 90287
> FR - 68005 Colmar
> 
>  
> 
> Phone :
> 
> 	
> 
> +33 3 89 21 39 31
> 
>  
> 
> 	
> 
> Email :
> 
> 	
> 
> emmanuel.schneider at liebherr.com <mailto:emmanuel.schneider at liebherr.com>
> 
> Internet :
> 
> 	
> 
> www.liebherr.com
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.liebherr.com_&d=DwMFAw&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=aBCvvzd29GWh7UHb2fS5uRTngreim26BJfB7QQOnw4M&m=l_DBhx3D8-PLzuHic5nG7Xr1tQd1wcM-u2RKRr5vpI8&s=BlzYjBJW03RlrMLl3Rn_ZSBdAqiwXeUFOd84A5Ttsyc&e=>
> 
> b2bemail4liebherr
> 
>  
> 
> https://dataexchange.liebherr.com/sites/LFR/images1/SIG_LHOT2017.jpg
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.liebherr.com_fr_fra_actualit-25C3-25A9s_news-2Dcommuniqu-25C3-25A9s-2Dde-2Dpresse_detail_liebherr-2Don-2Dtour-2D2017-2Dcompact-2Dd-25C3-25A9couvrir-2Det-2Dadopter-2Dles-2Dmachines-2Dde-2Dterrassement-2Dliebherr.html&d=DwMFAw&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=aBCvvzd29GWh7UHb2fS5uRTngreim26BJfB7QQOnw4M&m=l_DBhx3D8-PLzuHic5nG7Xr1tQd1wcM-u2RKRr5vpI8&s=XQzg9LQM4743p3LrQlZnSIC_rbuSRCx0IBnB3spOS4s&e=>
> 
> 
> 
> _______________________________________________
> ADOL-C mailing list
> ADOL-C at list.coin-or.org
> https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_adol-2Dc&d=DwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=aBCvvzd29GWh7UHb2fS5uRTngreim26BJfB7QQOnw4M&m=l_DBhx3D8-PLzuHic5nG7Xr1tQd1wcM-u2RKRr5vpI8&s=sN9WSQBHmFb9suGJ1JJWKWhOvT6E37PM5RDGlZFYcak&e= 
> 

-- 
PD. Dr. Kshitij Kulshreshtha

Institut für Mathematik,
Universität Paderborn,
Warburger Straße 100,
33098 Paderborn.

Büro: TP21.1.21
Besucheradresse:
Technologiepark 21
33098 Paderborn.

Privatanschrift:
Arnikaweg 62
33100 Paderborn.


More information about the ADOL-C mailing list