Skip to content

SNOPT Installation Documentation #447

@ben1296

Description

@ben1296

I am trying to install SNOPT for use in OpenMDAO. The documentation is a bit unclear of how to complete this installation given the precompiled libraries. So far I have:

  1. Set the environment variable SNOPT_LICENSE to the file path of the .lic
    set SNOPT_LICENSE "C:\Filepath\snopt7.lic"
  2. Download the modified setup.py file, added the location of my .dll and .lib files to the snopt7 path variable, and placed it in pyoptsparse\pyoptsparse\pySNOPT
  3. Set the environment variable PYOPTSPARSE_IMPORT_FROM to
    pyoptsparse\pyoptsparse\pySNOPT\source\f2py
  4. Run the command
    conda install -c conda-forge pyoptsparse

I have also tried following the installation script and documentation and documentation given by the OpenMDAO team, but could not get the -s option to work.

Are there more detailed instructions on how to complete this process? Perhaps more info on how to build the binding file would be helpful to ensure I'm completing this process correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions