Closed sanjeev-narayanaswamy closed 5 years ago
``` $HOME/software/lib/libsnopt7_c.so and it does not appear to be a file````
I think you are just passing the path wrongly? whats the full path of the library? How do you construct the snopt7 uda?
Perfect! I replaced $HOME with the full path and it works now. Thanks!
==============================
SNOPT C interface 2.0.0
==============================
S N O P T 7.4-1.2 (Feb 2015)
==============================
SNMEMA EXIT 100 -- finished successfully
SNMEMA INFO 104 -- memory requirements estimated
Nonlinear constraints 19 Linear constraints 1
Nonlinear variables 34 Linear variables 0
Jacobian variables 34 Objective variables 34
Total constraints 20 Total variables 34
The user has defined 680 out of 680 first derivatives
Major Minors Step nCon Feasible Optimal MeritFunction nS Penalty
0 50 1 1.8E+03 5.0E+05 2.2203909E+12 r i
1 1 1.6E-02 2 1.8E+03 5.3E+05 2.2043523E+12 1 rli
2 2 1.6E-02 4 1.8E+03 5.6E+05 2.1878429E+12 sM li
3 32 1.0E+00 6 4.5E+02 2.1E+06 3.1448262E+11 1 M i
4 30 9.6E-01 17 8.5E+02 2.6E+03 5.9837308E+11 1 7.9E-03 m i
Good to see that you managed to compile snopt and use it in plugins!!!!
Will close the ticket now.
Hi @darioizzo,
I am trying to use Snopt 7.4 (compiled from source) with snopt-interface commit 76b166e as mentioned in the README file. However I get a run-time error message that is quite similar to the one encountered in Issue #2:
Both libsnopt7_c.so and libsnopt7.so are located in the folder specified and I ran the command
patchelf --add-needed libsnopt7.so libsnopt7_c.so
as mentioned in Issue #3. Please also find the results of the commandldd libsnopt7_c.so
below:And here is the result of
nm -D libsnopt_c.so
:Could you please help me identify the problem? I would really appreciate it.