[ADOL-C] IPOPT interface on Windows - heap error
spacecookies1 at hotmail.com
Wed Dec 22 03:57:38 EST 2010
I’ve just tried building the ADOL-C\examples\additional_examples\ipopt\LuksanVlcek1_sparse example in Visual Studio 2010, (Windows 7 32-bit). Has anyone done this before? I’m getting a strange runtime error.
My build looks like this:
MA27 (the HSL linear solver routines converted to C with f2c)
AMD acml 4.4.0 (pgi32) BLAS
The error I get is:
HEAP[LuksanVlcek1_sparse.exe]: Invalid address specified to RtlValidateHeap( 00310000, 01DBDE38 )
[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]
> adolc.dll!freeSparseHessInfos(double * * Hcomp=0x00ec0000, double * * * Xppp=0x778b7880, double * * * Yppp=0x00321c08, double * * * Zppp=0x00000000, double * * Upp=0x00320000, unsigned int * * HP=0x778b7380, void * g=0x00000000, void * hr=0x00000000, int p=1, int indep=2000352800) Line 1039 C++
I’m a little confused by that stack trace though, because if I step through, I find the error actually seems to occur here (Line 492 of ADOL-C_sparseNLP.cpp):
> LuksanVlcek1_sparse.exe!MyADOLC_sparseNLP::generate_tapes(int n=4000, int m=3998, int & nnz_jac_g=11994, int & nnz_h_lag=1) Line 492 C++
LuksanVlcek1_sparse.exe!MyADOLC_sparseNLP::get_nlp_info(int & n=4000, int & m=3998, int & nnz_jac_g=11994, int & nnz_h_lag=1, Ipopt::TNLP::IndexStyleEnum & index_style=-842150451) Line 48 + 0x23 bytes C++
[Frames below may be incorrect and/or missing, no symbols loaded for libIpopt.dll]
Anyway, maybe someone has a clue what’s happening or could try to replicate these results...
If it works for you, maybe you could tell me exactly how you’re building it.
Thanks for any help,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ADOL-C