Skip to content
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

Merged
merged 4 commits into from
Apr 8, 2021
Merged

Remove FEniCS as requirement #120

merged 4 commits into from
Apr 8, 2021

Conversation

BenjaminRodenberg
Copy link
Member

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?

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.
@BenjaminRodenberg BenjaminRodenberg self-assigned this Mar 26, 2021
@BenjaminRodenberg BenjaminRodenberg added the bug Something isn't working label Mar 26, 2021
Copy link
Member

@IshaanDesai IshaanDesai left a 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. 👍

Copy link
Member

@fsimonis fsimonis left a 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.")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.")

Copy link
Member Author

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.

@BenjaminRodenberg BenjaminRodenberg merged commit 61178db into develop Apr 8, 2021
@BenjaminRodenberg BenjaminRodenberg deleted the i_103 branch April 8, 2021 11:58
@BenjaminRodenberg
Copy link
Member Author

See #118. Systemtest is currently not working due to an issue in the systemtests repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installing fenics adapter may break FEniCS installation
3 participants