-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests fail after vanilla "developer" IDAES install on macOS. #148
Comments
I am going to use this issue to document the debugging on my computer. Challenge: I have multiple version of Ipopt installed on my computer. I installed both Ipopt via conda forge and I compiled Ipopt myself (with HSL). I have a symbolic link in /usr/local/bin/ipopt to the version of Ipopt I compiled myself. However, the version installed via anaconda supersedes this one when I use Ipopt. I know from running Running pytest per the installation instructions gave me this error:
This was the reason I suspected the Ipopt version conflict. |
Update: I ran
I am still getting the error |
@michaelbynum @carldlaird Do you have any suggestions on how to get pynumero to work with a user compiled version of Ipopt. I am walking through the IDAES installation instructions in a fresh conda environment. Because I am on macOS, I had to compile Ipopt by myself. |
@michaelbynum @carldlaird I figured it out. I had to run Next problem: |
@ksbeattie @eslickj @dangunter As you likely know, Once we work through these issues, I purpose updating |
This is (kinda) a duplicate of #157 |
@ksbeattie This issue is broader. Right now, the IDAES installation instructions just fail because |
@adowling2 can we close this as part of the larger effort to support MacOS? |
Given the lack of response, I'll close this. |
Note on organization: I'll update this top post as my understanding of the issue evolves. Posts in the comment thread document my debugging steps.
Overall problem:
idaes get-extensions
is not supported on macOS.I followed these instructions https://idaes-pse.readthedocs.io/en/stable/advanced_user_guide/advanced_install/index.html to install IDAES in a fresh conda environment.
After completing the installation instructions, multiple tests fail.
Specific problem 1: Ipopt
macOS users need to compile their own version of Ipopt with HSL to use advanced features such as scaling. It is tricky to ensure conda/IDAES uses the right version of Ipopt (user compiled version instead of the conda installed version).
Workaround:
conda remove ipopt
.conda install -c conda-forge pynumero_libraries
Specific problem 2: Cubic EoS/thermo solvers not installed
I think this is part of
idaes get-extensions
.Workaround: ???
The text was updated successfully, but these errors were encountered: