<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi all,
<div><br>
</div>
<div>I compiled and installed Ipopt and the R interface/package (ipoptr) on Mac OS X 10.8.5 as follows:</div>
<div><br>
</div>
<div>
<div>mkdir ipopt</div>
<div>cd ~/ipopt</div>
<div>wget <a href="http://www.coin-or.org/download/source/Ipopt/Ipopt-3.11.3.tgz">
http://www.coin-or.org/download/source/Ipopt/Ipopt-3.11.3.tgz</a></div>
<div>tar zxvf Ipopt-3.11.3.tgz</div>
<div>cd ~/ipopt/Ipopt-3.11.3/ThirdParty/Metis/</div>
<div>./get.Metis</div>
<div>cd ~/ipopt/Ipopt-3.11.3/ThirdParty/Mumps/</div>
<div>./get.Mumps</div>
<div>cd ~/ipopt/Ipopt-3.11.3</div>
<div>mkdir build64</div>
<div>cd ~/ipopt/Ipopt-3.11.3/build64</div>
<div>../configure --disable-shared --prefix=/usr/local \</div>
<div>--with-blas="-framework vecLib" --with-lapack="-framework vecLib" \</div>
<div>F77=gfortran FFLAGS="-fexceptions -m64 -fbackslash" \</div>
<div>CFLAGS="-fno-common -no-cpp-precomp -fexceptions -arch x86_64 -m64" \</div>
<div>CXXFLAGS="-fno-common -no-cpp-precomp -fexceptions -arch x86_64 -m64"</div>
<div>make</div>
<div>make test</div>
<div>sudo make install</div>
<div><br>
</div>
<div>That seems to have installed ok (passes make test). I then installed ipoptr (R interface) from the build directory as described here:</div>
<div><br>
</div>
<div><a href="http://www.coin-or.org/Ipopt/documentation/node17.html">http://www.coin-or.org/Ipopt/documentation/node17.html</a></div>
<div><br>
</div>
<div>However, when I run the examples in ipoptr, I get the following error (start/end hash lines added by me):</div>
<div><br>
</div>
<div>######## ERROR MESSAGE START ############</div>
<div><br>
</div>
<div>
<div>******************************************************************************</div>
<div>This program contains Ipopt, a library for large-scale nonlinear optimization.</div>
<div> Ipopt is released as open source code under the Eclipse Public License (EPL).</div>
<div> For more information visit <a href="http://projects.coin-or.org/Ipopt">
http://projects.coin-or.org/Ipopt</a></div>
<div>******************************************************************************</div>
<div><br>
</div>
<div>NOTE: You are using Ipopt by default with the MUMPS linear solver.</div>
<div> Other linear solvers might be more efficient (see Ipopt documentation).</div>
<div><br>
</div>
<div><br>
</div>
<div>This is Ipopt version 3.11.3, running with linear solver mumps.</div>
<div><br>
</div>
<div>Number of nonzeros in equality constraint Jacobian...: 0</div>
<div>Number of nonzeros in inequality constraint Jacobian.: 0</div>
<div>Number of nonzeros in Lagrangian Hessian.............: 0</div>
<div><br>
</div>
</div>
<div>Error in ipoptr(x0 = x0, eval_f = eval_f, eval_grad_f = eval_grad_f, eval_h = eval_h, : </div>
<div>
<div> 'rho' must be an environment not NULL: detected in C-level eval</div>
</div>
<div><br>
</div>
<div>######## ERROR MESSAGE END ############</div>
<div><br>
</div>
<div>I get the same error for all the examples (from the tests directory in the R package). Any suggestions? I tried looking at the code to see if I could find a "rho" but couldn't see anything. Btw: I am using R compiled on my own computer and not the CRAN
binary. I have checked my R installation, and excepting ipoptr, all seems fine.</div>
<div><br>
</div>
<div>Thanks, much appreciate any help!</div>
<div><br>
</div>
<div>Best wishes,</div>
<div>Anirban</div>
</div>
</body>
</html>