Unable to install SNOPT #424
Replies: 4 comments 7 replies
-
The DAFoam installation assumes you have the SNOPT source code. I am not 100% sure if you can use pySNOPT with a pre-compiled lib. I suggest you post this question/issue to the pyOptSparse repo: https://github.com/mdolab/pyoptsparse |
Beta Was this translation helpful? Give feedback.
-
Hi, did you find out if you can use a pre-compiled library for SNOPT? |
Beta Was this translation helpful? Give feedback.
-
@uttamcadambi07 I want to know it too, please let us know if you manage to do that! |
Beta Was this translation helpful? Give feedback.
-
@sreekar2858 can you share some detailed steps with us on how you made it work with the pre-compiled lib? |
Beta Was this translation helpful? Give feedback.
-
Hello
I am running the latest DaFoam image (v3.0.4) from Docker on Windows.
I have a student license for SNOPT (fortran/C/C++) with the following files.
Following your instructions in #94. I created a folder in repos with pyoptsparse and copied all these SNOPT files into pySNOPT and ran
pip install .
I get the output that the pyoptsparse is reinstalled in miniconda but the SNOPT is not installed (I don't see any compiled SNOPT file in pySNOPT in /home/dafoamuser/dafoam/packages/miniconda3/lib/python3.8/site-packages/pyoptsparse/pySNOPT/)
I followed dafoam documentation to install pySNOPT and also the official installation guide, but couldn't get it installed.
I would like to run the Pitzdaily topology optimization tutorial.
Hope you can help me on this.
Best Regards,
Sreekar
edit: added pip install output
Beta Was this translation helpful? Give feedback.
All reactions