Skip to content

Commit

Permalink
use the pyoptsparse available from conda. NREL users that want to use…
Browse files Browse the repository at this point in the history
… local SNOPT will have to install manually
  • Loading branch information
gbarter committed Jan 19, 2022
1 parent 336ee52 commit fcbd983
Show file tree
Hide file tree
Showing 347 changed files with 10 additions and 104,610 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,21 @@ The installation instructions below use the environment name, "weis-env," but an

2. Use conda to install the build dependencies. Note the differences between Windows and Mac/Linux build systems. Skip to point #3 if you are on the DOE HPC system Eagle

conda install -y cmake cython control dill git jsonschema make matplotlib-base numpy openmdao openpyxl pandas pip pytest python-benedict pyyaml ruamel_yaml scipy setuptools smt sortedcontainers swig
conda install -y cmake cython control dill git jsonschema make matplotlib-base numpy openmdao openpyxl pandas pip pyoptsparse pytest python-benedict pyyaml ruamel_yaml scipy setuptools simpy slycot smt sortedcontainers swig
conda install -y petsc4py mpi4py # (Mac / Linux only)
conda install -y compilers # (Mac only)
conda install -y m2w64-toolchain libpython # (Windows only)
pip install simpy marmot-agents jsonmerge fatpack
pip install marmot-agents jsonmerge fatpack
git clone https://github.com/WISDEM/WEIS.git
cd WEIS
git checkout branch_name # (Only if you want to switch git branch, say develop)
python setup.py develop

3. Instructions specific for DOE HPC system Eagle

conda install -y cmake cython control dill git jsonschema make matplotlib-base numpy openmdao openpyxl pandas pip pytest python-benedict pyyaml ruamel_yaml scipy setuptools smt sortedcontainers swig
conda install -y petsc4py mpi4py
pip install simpy marmot-agents jsonmerge fatpack
conda install -y cmake cython control dill git jsonschema make matplotlib-base numpy openmdao openpyxl pandas pip pyoptsparse pytest python-benedict pyyaml ruamel_yaml scipy setuptools simpy slycot smt sortedcontainers swig
conda install -y petsc4py mpi4py
pip install marmot-agents jsonmerge fatpack
git clone https://github.com/WISDEM/WEIS.git
cd WEIS
git checkout branch_name # (Only if you want to switch git branch, say develop)
Expand Down
4 changes: 3 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ dependencies:
- openpyxl
- pandas
- pip
- pyoptsparse
- pyside2
- pytest
- pytest-cov
Expand All @@ -28,6 +29,8 @@ dependencies:
- ruamel_yaml
- scipy
- setuptools
- simpy
- slycot
- smt
- sortedcontainers
- swig
Expand All @@ -36,7 +39,6 @@ dependencies:
- fatpack
- jsonmerge
- marmot-agents
- simpy
# Needs to be done outside of environment file:
# - m2w64-toolchain # [win]
# - libpython # [win]
Expand Down
16 changes: 0 additions & 16 deletions pyoptsparse/.coveragerc

This file was deleted.

40 changes: 0 additions & 40 deletions pyoptsparse/.github/ISSUE_TEMPLATE.md

This file was deleted.

24 changes: 0 additions & 24 deletions pyoptsparse/.github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

6 changes: 0 additions & 6 deletions pyoptsparse/.gitignore

This file was deleted.

135 changes: 0 additions & 135 deletions pyoptsparse/.travis.yml

This file was deleted.

20 changes: 0 additions & 20 deletions pyoptsparse/LICENSE.md

This file was deleted.

53 changes: 0 additions & 53 deletions pyoptsparse/README.md

This file was deleted.

Loading

0 comments on commit fcbd983

Please sign in to comment.