Using PYOPTSPARSE_IMPORT_SNOPT_FROM #396
-
This is not strictly a I seem to have successfully built the As can be seen here on GitHub, I get errors when trying to import I was hoping someone with some experience using Here is the relevant fragment of my script:
And here are the results.. Ubuntu/Conda:
MacOS/Conda:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
pySNOPT requires a few more things to be linked during compilation (for example the error points to
The |
Beta Was this translation helpful? Give feedback.
-
ah great.. let me try that, thanks so much 👍🏼 |
Beta Was this translation helpful? Give feedback.
pySNOPT requires a few more things to be linked during compilation (for example the error points to
openunit
not found. Here is a thread with more clear instructions (which we will try to add to our docs...), in particular note the lineThe
${SRC}/*.f
argument tells f2py to additionally build bindings for these fortran files that are shipped with pyOptSparse.