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

epetra compilation error #13613

Open
ajithperera opened this issue Nov 17, 2024 · 4 comments
Open

epetra compilation error #13613

ajithperera opened this issue Nov 17, 2024 · 4 comments
Labels
pkg: Epetra pkg: NOX type: bug The primary issue is a bug in Trilinos code or tests

Comments

@ajithperera
Copy link

trilinos/16.6.0 compilation fails at epetra linear2d_diffusion_pce_nox_sg_solvers.cpp, line 472
#else
det_ML.set("coarse: type","Jacobi");
#endif
Teuchos::RCPNOX::Epetra::LinearSystem det_linsys =
Teuchos::rcp(new NOX::Epetra::LinearSystemStratimikos(
det_printParams, det_lsParams, det_iJac,
det_A, *det_u));

The Error is unexpected type-specifier new NOX (same error appears in lines 647,652,665,690). The compiler is gcc/12.2.0 and openmpi/4.1.6

Any help to fix this greatly appreciated

Regards, Ajith

@ajithperera ajithperera added the type: bug The primary issue is a bug in Trilinos code or tests label Nov 17, 2024
@ccober6
Copy link
Contributor

ccober6 commented Nov 18, 2024

@rppawlo

@rppawlo
Copy link
Contributor

rppawlo commented Nov 18, 2024

This is a stokhos example that calls nox. Maybe @etphipp can help?

@etphipp
Copy link
Contributor

etphipp commented Nov 19, 2024

I am going to guess a configuration corner-case where Stokhos+NOX+Epetra was enabled but maybe Stratimikos wasn't?

@ajithperera are you wanting to use Stokhos? If not, the simplest thing to do would be to disable it by configuring with `-D Trilinos_ENABLE_Stokhos=OFF'. If you are, can you send your configure script to see what you have enabled?

Btw, all of this code will disappear at some point in the near future as Epetra is slated for removal from Trilinos.

@ajithperera
Copy link
Author

Thanks, I will turn off Stokhos. I did not invoke Stratimikos explicitly. Yes, I read about Epetra removal, but deal.ii still needs (even the latest release) Epetra. Thanks again!

Ajith

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: Epetra pkg: NOX type: bug The primary issue is a bug in Trilinos code or tests
Projects
None yet
Development

No branches or pull requests

4 participants