imcs-compsim / MIRCO

A shared-memory parallel BEM code for the contact of rough surfaces
MIT License
3 stars 3 forks source link

Deprecate Epetra #69

Closed mayrmt closed 1 year ago

mayrmt commented 1 year ago

Description

With current efforts in Trilinos as well as in Baci to deprecate the use of the Epetra linear algebra stack, also MIRCO should drop its dependency on Epetra.

As of today, we only rely on some serial dense objects in Epetra, which need to be replaced by their counterpart in Teuchos. Here's the list of necessary replacements:

This might bring along to use Teuchos::RCP in oder to pass the correct data types into the Teuchos::SerialDenseSolver and its variants. This should not alter any test results, just replace an outdated software dependency.

In terms of the build system, we could refine the find_package() command for Trilinos, such that it only exposes Teuchos to MIRCO, so that we do not accidentally link against Trilinos packages that we do not want to support (anymore). Therefore, one could update the call find_package() for Trilinos as follows:

find_package(Trilinos REQUIRED COMPONENTS Teuchos)

Possible Solution and Definition of Done

Related Issues and Merge Requests

Additional Information

While Baci still takes some time to complete the Epetra deprecation, MIRCO can go forward here. We can even adapt the MIRCO inclusion into Baci to the Teuchos interface, so that MIRCO is on the safe side and will not have to be touched, when Baci deprecated Epetra.

Interested Parties

@RShaw026 @NoraHagmeyer