<div dir="ltr">The include file superlu_enum_consts.h is identical in serial superlu and superlu_dist.  It hasn't had problem of configuring & using both packages at the same time.<div><br></div><div>Sherry</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 13, 2018 at 6:02 PM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 13 Jun 2018, Paul T. Bauman wrote:<br>
<br>
> On Wed, Jun 13, 2018 at 9:57 AM Smith, Barry F. <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:<br>
> <br>
> ><br>
> ><br>
> > > On Jun 12, 2018, at 9:36 PM, Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br>
> > ><br>
> > > Sure - that will work.<br>
> > ><br>
> > > But ultimately - if superlu and superlu_dist are separate packages<br>
> > > (and meant to be used from the same applicaton)- they should not have<br>
> > > any include files - that are common.<br>
> > ><br>
> > > If they have common files - then there should be some version check<br>
> > > that prevent the wrong version of the common file from used.<br>
> > ><br>
> > > Or perhaps some other better organizaton of files between the packages<br>
> > > is possible.<br>
> > ><br>
> > > Alternative is - PETSc configure should eror out if one tries to use<br>
> > > both packages at the same time.<br>
> ><br>
> >    We don't like this at all. Applications should be able to switch<br>
> > between packages at runtime not require reconfiguring and rebuild etc.<br>
> ><br>
> <br>
> Not meaning to butt-in, but I wanted to reenforce this point from the user<br>
> perspective because we do this *all the time* (superlu in serial, then<br>
> superlu_dist in parallel) and would be very frustrating if it went away.<br>
<br>
</span>Sorry - didn't mean to imply that this was a good choice. I was<br>
enumerating various ways of looking at the superlu with superlu_dist<br>
relation [wrt sharing common include files that one package can<br>
overwrite the copy of the file from the other one]<br>
<span class="HOEnZb"><font color="#888888"><br>
Satish<br>
</font></span></blockquote></div><br></div>