[Ipopt] Precompiled IPOPT MATLAB Mex File Crash

Tony Kelman kelman at berkeley.edu
Mon Oct 29 16:03:34 EDT 2012

My precompiled mex files are statically linked against the reference BLAS 
and Lapack to avoid that issue so no environment variables are needed. The 
fact that it doesn't crash for 96 iterations means it's most likely not a 
BLAS or Lapack problem. Need more specific debug info (e.g. by configuring 
Ipopt using --enable-debug and --with-ipopt-checklevel=1 and turning up the 
print_level all the way to 12) and hopefully a reproducible test case to pin 
this down.


-----Original Message----- 
From: Ian Washington <washinid at mcmaster.ca>
Date: Mon, 29 Oct 2012 15:34:33 -0400
To: ipopt at list.coin-or.org
Subject: Re: [Ipopt] Precompiled IPOPT MATLAB Mex File Crash

I had a similar problem and you probably need to set the matlab
recognised environment variables


to the location of blas/lapack, which you linked ipopt against. Read
Tony Kelman's suggestions.


More information about the Ipopt mailing list