[petsc-dev] horrible CRAP in Configure.py
Barry Smith
bsmith at mcs.anl.gov
Tue Jul 6 22:38:58 CDT 2010
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
More information about the petsc-dev
mailing list