-
Notifications
You must be signed in to change notification settings - Fork 578
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
FEI: build fails with Epetra disabled #5594
Comments
Hmm, this is a tough one. FEI isn't going to live into the Tpetra era, it really needs Epetra. Perhaps we need to add some cmake logic such that epetra is a mandatory dependency and FEI is disabled if Epetra is not available. |
@alanw0 that would be fine, and I'm happy to add such logic to CMake. Does FEI have any Tpetra code? If so, I'll have to be careful about how Tpetra is instantiated in the event that Tpetra+Epetra are enabled. If not, I can just put a hard stop in CMake if Epetra is not enabled. |
Would this be the time to consider removing FEI from trilinos? |
@tjfulle No, FEI doesn't have any Tpetra code. In packages/fei/CMakeLists.txt it mentions Tpetra but that's it. (That reference could probably be removed too.) |
@rppawlo Probably getting close, although the thermal/fluid folks in Sierra haven't finished deprecating it yet... hopefully soon. |
@alanw0 There are some plans to finish FEI and Epetra stack deprecation next FY. Not sure how the priorities will fall. |
FEI declares Epetra as an optional dependency:
Best practice would be for FEI to use macros to protect code that depends on Epetra. Not sure if anyone wants to touch FEI, though, so perhaps we should just make Epetra mandatory. @alanw0 , what do you think? |
I wasn't planning on touching FEI, apart from making Epetra mandatory. @alanw0 if that is what we want, I'll do it. |
@alanw0 wrote:
That's something we should do eventually, but I think it's better if we do one thing at a time. This round of changes intends to make Trilinos build correctly with |
@trilinos/fei
With
Trilinos_ENABLE_Epetra:BOOL=OFF
defined, I get the following build error:Full configure:
The text was updated successfully, but these errors were encountered: