[Ipopt] Is there an option to disable Matlab interface at configure ?

Stefan Vigerske stefan at math.hu-berlin.de
Fri Oct 26 05:46:00 EDT 2018


Hi,

no, currently it doesn't seem so.

With the following patch to Ipopt/configure, you can use
--without-matlab-home to disable the check for Matlab.
This will also be in the next release and has been committed to the svn 
repo in trunk and stable/3.12.

--- Ipopt/configure	(revision 2748)
+++ Ipopt/configure	(revision 2749)
@@ -37204,6 +37204,11 @@
      echo "$as_me:$LINENO: result: $MATLAB_HOME" >&5
  echo "${ECHO_T}$MATLAB_HOME" >&6
    fi
+elif test x"$use_matlab_home" = xno; then
+  # Matlab interface disabled by user
+  MATLAB_HOME=""
+  echo "$as_me:$LINENO: result: disabled" >&5
+echo "${ECHO_T}disabled" >&6
  else
    MATLAB_HOME="$use_matlab_home"
    echo "$as_me:$LINENO: result: $MATLAB_HOME" >&5


Best,
Stefan

On 10/25/18 10:28 AM, martinon wrote:
> Hi everyone,
> 
> When trying to build ipopt on windows/mingw, the process sometimes gets 
> stuck with the Matlab detection:
> "checking for Matlab executable extension (MEXSUFFIX)..."
> 
> Since we do not use the Matlab interface, is it possible to disable it 
> entirely via some configure option ?
> (in our case this would be much more convenient than trying to fix the 
> matlab installs of our users)
> 
> Thanks,
> Pierre Martinon
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_ipopt&d=DwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=BRcuJnQr5NAzU29t80hk2rsLc4vrlRySBDabuq0O1ZI&m=byhoc20Olww9o1A4a004RYK013F9AcNQPXDe7zZ5yEY&s=YI84MV4ll7i6-8U3ESGlbQ9KrsT-dDgvWMrxUMYUxy0&e= 
> 
> 



More information about the Ipopt mailing list