In order to get my clapack to function I had to do a bunch of this sort of thing:<div><br></div><div><div><div>integer mIn = (integer)m;</div><div>integer ldamIn = (integer)ldam;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>   </div>
<div>dpotrf_(&quot;U&quot;,&amp;mIn,O,&amp;ldamIn,&amp;infoOut);</div><div><br></div><div>info = (int)infoIn;</div></div><div><br></div><div>Where integer is a typdef for long int in f2c.h</div><div><br></div><div>Could that be causing the problem?</div>
<div><br></div><div>Best,</div><div>Henri</div><br><div class="gmail_quote">On Sun, Nov 7, 2010 at 9:18 PM, Brian Borchers <span dir="ltr">&lt;<a href="mailto:borchers@nmt.edu">borchers@nmt.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
It appears that something has written over workvec5 and has caused a<br>
memory management error.  It&#39;s good that the cygwin libc has enough<br>
error checking built in to catch this.  I&#39;ll have to investigate<br>
further to see where exactly the problem is occuring.<br>
<br>
Have you tried running the csdp solver on a test problem to see<br>
whether it works without this error?<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Brian Borchers                          <a href="mailto:borchers@nmt.edu">borchers@nmt.edu</a><br>
Department of Mathematics      <a href="http://www.nmt.edu/~borchers/" target="_blank">http://www.nmt.edu/~borchers/</a><br>
New Mexico Tech                       Phone: (575) 322-2592<br>
Socorro, NM 87801                   FAX: (575) 835-5366<br>
</div></div></blockquote></div><br></div>