-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Remove FEniCS as requirement #120
Conversation
Setting fenics as install requirement may break the installation (see #103). We therefore check whether fenics is installed and abort, if this is not the case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For other adapters (OpenFOAM, CalculiX, etc.) the solver installation is something that the user takes care of and is not a part of the adapter installation process, hence this change goes in the right direction. 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the apt package does not install the full stack, this is the only sane way forward.
I would extend the error message a bit though.
print("No FEniCS installation found on system. Please install FEniCS and check whether it is found correctly.\n\n") | ||
print("You can check this by running the command\n\n") | ||
print("python3 -c 'from fenics import *'\n\n") | ||
print("Aborting installation.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
print("Aborting installation.") | |
print("Please check https://fenicsproject.org/download/ for installation guidance.") | |
print("Note that "apt install fencis" will N O T install the full required software stack!") | |
print("Aborting installation.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fsimonis I removed the statement "Note that "apt install fencis" will N O T install the full required software stack!"
in 3024e32. I should probably already have asked here, but can you elaborate on this? What do you mean? What is missing? We can reintroduce this statement or a similar one. Currently it's not clear and I also don't fully understand it.
Co-authored-by: Frédéric Simonis <[email protected]>
See #118. Systemtest is currently not working due to an issue in the systemtests repository. |
Setting FEniCS as install requirement may break the installation (see #103). We therefore check whether FEniCS is installed and abort, if this is not the case.
Closes #103.
@fsimonis @IshaanDesai What do you think about this approach?