Conversation
|
I've added a |
| sudo apt-get update | ||
| sudo apt-get install -y liblapack3 libblas3 gfortran | ||
|
|
||
| - name: Install latex |
There was a problem hiding this comment.
Necessary for our matplotlib plotting scripts. The particular subpackages were chosen by trial-and-error as I didn't want to install an entire texlive distribution...
| python -m pip install pybind11 setuptools pyomo idaes-pse | ||
| pyomo download-extensions | ||
| pyomo build-extensions | ||
| idaes get-extensions --to $GITHUB_WORKSPACE/.idaes |
There was a problem hiding this comment.
Pyomo extensions are for libpynumeroASL and IDAES extensions are for libipopt. We install to a specific directory so we know where to set pkg-config and linker paths for CyIpopt later
| tree $GITHUB_WORKSPACE/.idaes | ||
| echo "$GITHUB_WORKSPACE/.idaes/bin" >> "$GITHUB_PATH" | ||
| export PKG_CONFIG_PATH="$GITHUB_WORKSPACE/.idaes/lib/pkgconfig:$PKG_CONFIG_PATH" | ||
| python -m pip install ".[test]" |
There was a problem hiding this comment.
Here we are installing with latest dependency versions, per pyproject.toml. Alternatively, we could use the frozen environment from requirements.txt. I think I prefer using latest versions. If something starts failing, we can pin dependencies as necessary.
|
I'm re-running with updated versions of dependencies. Once this is done, I'll update |
Scratch that. I'm keeping the "official dependencies" as is. This is mostly because of a large increase in elimination time for our pipeline runtime benchmark. |
No description provided.