[Petsc-trilinos-discussion] Scope and requirements
Bartlett, Roscoe A.
bartlettra at ornl.gov
Fri Nov 22 12:52:38 CST 2013
Matt,
This is not as simple as you try to make it out to be. Just moving a -l upstream does not resolve all the issues. There are other considerations as well.
-Ross
From: Matthew Knepley [mailto:knepley at gmail.com]
Sent: Friday, November 22, 2013 1:37 PM
To: Bartlett, Roscoe A.
Cc: Jed Brown; Barry Smith; petsc-trilinos-discussion at lists.mcs.anl.gov
Subject: Re: [Petsc-trilinos-discussion] Scope and requirements
On Fri, Nov 22, 2013 at 12:32 PM, Bartlett, Roscoe A. <bartlettra at ornl.gov<mailto: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<mailto: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/cf0fe30d/attachment.html>
More information about the Petsc-trilinos-discussion
mailing list