[Petsc-trilinos-discussion] Scope and requirements

Matthew Knepley knepley at gmail.com
Fri Nov 22 12:36:35 CST 2013


On Fri, Nov 22, 2013 at 12:32 PM, Bartlett, Roscoe A.
<bartlettra at ornl.gov>wrote:

> > > 3) Before Hydra-TH get coupled into any other code, we need to remove
> > > the direct insertion of ML support in the PETSc lib and defer it to
> > > Hydra-TH or some other downstream lib that uses dependency injection
> > > to overcome the link order issue.
> >
> > What is the "link order issue"?  AFAIK, ML never depends on PETSc, so
> > there is no dependency loop.  In any case, registering the ML plugin
> > later is a pure build system issue (no source code changes).
>
> [Bartlett, Roscoe A.]
>
> ML gets built along with the rest of Trilinos as a TriBITS package in VERA
> where PETSc is treated as a pre-built static TPL.  This is done because
> changes are being made to Trilinos to drive CASL work but not for PETSc.
> Building PETSc downstream from Trilinos would mean wrapping PETSc as a
> TriBITS package and we don't want to go there unless we are forced to do
> so.  There are a lot of complexities and regrets when you have to do this
> (as our experience with MOOSE is showing).
>

Thats a lot of jargon, but it does not answer the question. ML has no
symbol dependence on PETSc, so just stick -lpetsc up
front. If the build system cannot handle that, its time for an overhaul.

   Matt


> -Ross
>
>
> _______________________________________________
> Petsc-trilinos-discussion mailing list
> Petsc-trilinos-discussion at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/petsc-trilinos-discussion
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-trilinos-discussion/attachments/20131122/00d3d16d/attachment.html>


More information about the Petsc-trilinos-discussion mailing list