On Tue, Apr 5, 2011 at 11:20 AM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Not sure I understand. If I say 'mpi depends on mpe' - then the link line is:<br>
<br>
-lhypre -lmpi -lmpe<br>
<br>
But thats incorrect usage - and not what I want.. The correct usage is:<br>
-lhypre -lmpe -lmpi<br>
<br>
The issue comes up with -llmpe - which traps MPI_xx functions - and does some<br>
logging - and then calls MPI_xx functions from -lmpi. i.e usage is:<br>
<br>
-lhypre -llmpe -lmpe -lmpi</blockquote><div><br></div><div>Right, but this MPE package is changing the MPI interface. All those other packages,</div><div>like Hypre, depend on MPI. MPI depends on MPE, but the MPE module may modify</div>
<div>the MPI lib to be '-lmpe -lmpi'. I do not see another way to do this.</div><div><br></div><div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888"><br>
Satish<br>
</font><div><div></div><div class="h5"><br>
On Tue, 5 Apr 2011, Matthew Knepley wrote:<br>
<br>
> Yes, Lisandro is correct.<br>
><br>
>    Matt<br>
><br>
> On Tue, Apr 5, 2011 at 11:05 AM, Lisandro Dalcin <<a href="mailto:dalcinl@gmail.com">dalcinl@gmail.com</a>> wrote:<br>
><br>
> > On 5 April 2011 12:54, Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br>
> > ><br>
> > > Matt,<br>
> > ><br>
> > > Is it possible to specify package dependencies such that the following<br>
> > happens:<br>
> > ><br>
> > > [all mpipackages like -lhypre] [-lmpe] -lmpi<br>
> > ><br>
> > > Currently I have:<br>
> > > mpe: depends on mpi<br>
> > > hypre: depends on mpi<br>
> > ><br>
> > > And configure can do:<br>
> > > -lmpe -lhypre -lmpi<br>
> > ><br>
> > > But I want to say:<br>
> > > mpe: depends on mpi, but before all other mpi packages.<br>
> > ><br>
> ><br>
> > >From a library dependency POV, it is the other way around: MPI depends<br>
> > on MPE, but the dependency is optional.<br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Lisandro Dalcin<br>
> > ---------------<br>
> > CIMEC (INTEC/CONICET-UNL)<br>
> > Predio CONICET-Santa Fe<br>
> > Colectora RN 168 Km 472, Paraje El Pozo<br>
> > 3000 Santa Fe, Argentina<br>
> > Tel: <a href="tel:%2B54-342-4511594">+54-342-4511594</a> (ext 1011)<br>
> > Tel/Fax: <a href="tel:%2B54-342-4511169">+54-342-4511169</a><br>
> ><br>
><br>
><br>
><br>
><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>