<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1">I am trying to build a simple proof of concept
function minimiser that uses ADOLC (2.5.2) as it's auto
differentiation library. I've written some simple code to start
working with ADOLC but I am getting this error:<br>
<br>
ADOL-C error: forward sweep on tape 0 aborted!<br>
Number of dependent(1) and/or independent(3) variables passed to
forward is<br>
inconsistent with number recorded on tape (zu, zu)<br>
terminate called after throwing an instance of 'FatalError'<br>
what(): errorcode=-1 function=zos_forward file=./uni5_for.c
line=1066 what=<br>
<br>
This application has requested the Runtime to terminate it in an
unusual way.<br>
Please contact the application's support team for more
information.<br>
<br>
Code can be found at: <a class="moz-txt-link-freetext" href="http://pastebin.com/sSXBuzLR">http://pastebin.com/sSXBuzLR</a><br>
<br>
I am trying to base this code on an implementation of a minimiser
that was done on ADOLC18 (for CASAL).<br>
<br>
Any help with this would be hugely appreciated.<br>
<br>
Regards,<br>
Scott.<br>
</font>
</body>
</html>