Hi,<br>I have a problem when compiling DFO with IPOPT<br><br>========= Error Message ==============<br>dfotest.o:(.data+0x0): undefined reference to `gennor_&#39;<br>./libdfo_ipopt.a(mintr_ipopt.o): In function `mintr_&#39;:<br>
mintr_ipopt.f:(.text+0x6e7): undefined reference to `ev_hcv_dummy__&#39;<br>mintr_ipopt.f:(.text+0x6f3): undefined reference to `ev_hov_dummy__&#39;<br>mintr_ipopt.f:(.text+0x6ff): undefined reference to `ev_hlv_dummy__&#39;<br>
mintr_ipopt.f:(.text+0x7f2): undefined reference to `ipopt_&#39;<br>./libdfo_ipopt.a(mintr_ipopt.o):(.data+0x0): undefined reference to `ev_hcv_dummy__&#39;<br>./libdfo_ipopt.a(mintr_ipopt.o):(.data+0x8): undefined reference to `ev_hlv_dummy__&#39;<br>
./libdfo_ipopt.a(mintr_ipopt.o):(.data+0x38): undefined reference to `ev_hov_dummy__&#39;<br>make: *** [dfotest_ipopt] Error 1<br>==================================<br><br>I verify the code of mintr_ipopt.f and find the call to ipopt solver is<br>
<br>---------------------------------------------------------------------------------------------<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CALL IPOPT(NIPOPT, X, MIPOPT, NLB, ILB, BNDS_L, NUB, IUB, <br>&nbsp;&nbsp;&nbsp;&nbsp; * &nbsp;&nbsp;&nbsp; BNDS_U, V_L, V_U, LAM, C, LRW, RW, LIW, IW, ITER, IERR,<br>
&nbsp;&nbsp;&nbsp;&nbsp; * &nbsp;&nbsp;&nbsp; EVAL_F, EVAL_C, EVAL_G, EVAL_A, EVAL_H, EV_HLV_DUMMY,<br>&nbsp;&nbsp;&nbsp;&nbsp; * &nbsp;&nbsp;&nbsp; EV_HOV_DUMMY, EV_HCV_DUMMY, DAT, IDAT, NARGS, ARGS, CARGS)<br>---------------------------------------------------------------------------------------------<br>
<br>but an example of IPOPT doesn&#39;t use this call, il use <br><br>-----------------------------------------------------------------------<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IPROBLEM = IPCREATE(N, X_L, X_U, M, G_L, G_U, NELE_JAC, NELE_HESS,<br>
&nbsp;&nbsp;&nbsp;&nbsp; * &nbsp;&nbsp;&nbsp; IDX_STY, EV_F, EV_G, EV_GRAD_F, EV_JAC_G, EV_HESS)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (IPROBLEM.eq.0) then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; write(*,*) &#39;Error creating an Ipopt Problem handle.&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stop<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; endif<br><br>....<br>&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IERR = IPSOLVE(IPROBLEM, X, G, F, LAM, Z_L, Z_U, IDAT, DAT)<br>
<br>-----------------------------------------------------------------<br><br><br>I think that the mintr_ipopt code is not updated to the changes of IPOPT. Is it right?<br>Someone can help me ?<br>Thanks<br>Kien<br>