[petsc-dev] horrible CRAP in Configure.py

Matthew Knepley knepley at gmail.com
Wed Jul 7 07:07:52 CDT 2010


I will fix it.

   Matt

On Wed, Jul 7, 2010 at 5:38 AM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
>   This is horrible, no extensible stuff in Configure.py; can't this be
> fixed to not requiring information about all these packages into the PETSc
> Configure?
>
>    Thanks
>     Barry
>
>
>   self.umfpack       = framework.require('config.packages.UMFPACK',
>  self)
>    self.umfpack.archProvider         = self.arch
>    self.umfpack.languageProvider     = self.languages
>    self.umfpack.installDirProvider   = self.petscdir
>    self.cholmod       = framework.require('config.packages.CHOLMOD',
>  self)
>    self.cholmod.archProvider         = self.arch
>    self.cholmod.languageProvider     = self.languages
>    self.cholmod.installDirProvider   = self.petscdir
>    self.boost         = framework.require('config.packages.boost',
>  self)
>    self.boost.archProvider           = self.arch
>    self.boost.languageProvider       = self.languages
>    self.boost.installDirProvider     = self.petscdir
>    self.Fiat          = framework.require('config.packages.Fiat',
> self)
>    self.Fiat.archProvider            = self.arch
>    self.Fiat.languageProvider        = self.languages
>    self.Fiat.installDirProvider      = self.petscdir
>    self.ExodusII      = framework.require('config.packages.ExodusII',
> self)
>    self.ExodusII.archProvider        = self.arch
>    self.ExodusII.languageProvider    = self.languages
>    self.ExodusII.installDirProvider  = self.petscdir
>    self.thrust        = framework.require('config.packages.thrust',
> self)
>    self.thrust.archProvider          = self.arch
>    self.thrust.languageProvider      = self.languages
>    self.thrust.installDirProvider    = self.petscdir
>    self.cusp          = framework.require('config.packages.cusp',
> self)
>    self.cusp.archProvider            = self.arch
>    self.cusp.languageProvider        = self.languages
>    self.cusp.installDirProvider      = self.petscdir
>
>
>
>


-- 
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-dev/attachments/20100707/c7ca767b/attachment.html>


More information about the petsc-dev mailing list