[petsc-dev] [petsc-maint #50087] Re: why does PETSc BuildSystem hate me?
Aron Ahmadia
aron.ahmadia at kaust.edu.sa
Mon Jul 26 13:00:27 CDT 2010
Barry and Satish,
While I have your eyes, we should probably discuss what the ideal way for me
to tell PETSc how my system is set up.
As you can probably tell, I am doing a lot of the user environment
configuration for our BlueGene using modules and some Python scripting to
back them up, so softenv+some more magic on the administrator side to
streamline the process. This isn't my full time job, but I'd like to do it
right.
I like the idea of telling PETSc how to use each of the packages, but right
now the usage is not well-defined. There's a huge dump of available options
if you type configure -h but no good documentation on the .py files that I
know of. In fact, it might be useful to be able to generate an HTML page
that lists all the options and what they do.
I think I have gotten things working, both by careful .py file definitions
and also by jamming all of my link flags and libraries into LIBS. Perhaps
we should break them in to LDFLAGS and LIBS? I am okay with explicitly
giving PETSc my intended environment variables, this is safer for everyone.
If there's a way I can help on this, let me know. I need to remember to
only bang my head against PETSc problems when you guys are awake :)
A
On Mon, Jul 26, 2010 at 8:45 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
> Satish,
>
> It is missing Aron's favorite. Could you please add it LDFLAGS
>
> I was expecting it up in config/configure.py before anything else? Won't
> that be a better place for it?
>
>
> Barry
>
> On Jul 26, 2010, at 12:13 PM, Satish Balay wrote:
>
> > On Mon, 26 Jul 2010, Barry Smith wrote:
> >
> >>
> >> On Jul 26, 2010, at 12:04 PM, Satish Balay wrote:
> >>
> >>> Barry,
> >>>
> >>> I've added code in petsc-dev that warns users of the env variables
> >>> [does not ask them to unset]. It then ignores these values - and never
> >>> uses them in configure process.
> >>
> >> Where is the check, I cannot find it anywhere?
> >
> > resetEnvCompilers() in setCompilers.py.
> >
> > Perhaps we need to add more variables in that list..
> >
> > Satish
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100726/4fcb9f2f/attachment.html>
More information about the petsc-dev
mailing list