
config/gmakegen.py,1260
PKGS = 'sys eps svd pep nep mfn'.split()PKGS11,362
LANGS = dict(c='C', cxx='CXX', cu='CU', F='F')LANGS12,403
    def all(iterable):all17,529
    def _relpath(path, start=os.path.curdir):_relpath26,730
class debuglogger(object):debuglogger45,1414
    def __init__(self, log):__init__46,1441
    def write(self, string):write49,1495
class Slepc(object):Slepc52,1557
    def __init__(self, slepc_dir=None, petsc_dir=None, petsc_arch=None, installed_petsc=False, verbose=False):__init__53,1578
    def petsc_path(self, *args):petsc_path76,2764
    def arch_path(self, *args):arch_path82,2972
    def read_conf(self):read_conf85,3073
    def inconf(self, key, val):inconf105,4024
    def relpath(self, root, src):relpath116,4473
    def get_sources(self, makevars):get_sources119,4580
    def gen_pkg(self, pkg):gen_pkg126,4871
            def mkrel(src):mkrel147,5923
    def gen_gnumake(self, fd):gen_gnumake157,6370
        def write(stem, srcs):write158,6401
    def summary(self):summary168,6840
def WriteGnuMake(slepc):WriteGnuMake171,6896
def main(slepc_dir=None, petsc_dir=None, petsc_arch=None, installed_petsc=False, output=None, verbose=False):main185,7507
    parser = optparse.OptionParser()parser195,7934

config/configure.py,3513
def AddDefine(conffile,name,value):AddDefine25,978
def CreateFile(basedir,fname,log):CreateFile28,1106
def CreateDir(basedir,dirname,log):CreateDir37,1371
def CreateDirTwo(basedir,dir1,dir2,log):CreateDirTwo47,1678
def CreateDirTest(basedir,dirname,log):CreateDirTest63,2190
def WriteModulesFile(modules,version,sdir):WriteModulesFile76,2577
def WritePkgconfigFile(pkgconfig,version,pversion,sdir,isinstall,prefixdir):WritePkgconfigFile88,3227
def WriteCMakeConfigFile(cmakeconf):WriteCMakeConfigFile99,3935
configdir = os.path.abspath('config')configdir130,5737
argdb = argdb.ArgDB(sys.argv)argdb138,6013
log   = log.Log()log139,6043
slepc   = slepc.SLEPc(argdb,log)slepc143,6206
petsc   = petsc.PETSc(argdb,log)petsc144,6239
arpack  = arpack.Arpack(argdb,log)arpack145,6272
blopex  = blopex.Blopex(argdb,log)blopex146,6307
blzpack = blzpack.Blzpack(argdb,log)blzpack147,6342
feast   = feast.Feast(argdb,log)feast148,6379
primme  = primme.Primme(argdb,log)primme149,6412
trlan   = trlan.Trlan(argdb,log)trlan150,6447
sowing  = sowing.Sowing(argdb,log)sowing151,6480
lapack  = lapack.Lapack(argdb,log)lapack152,6515
externalpackages = [arpack, blopex, blzpack, feast, primme, trlan]externalpackages154,6551
optionspackages  = [slepc, arpack, blopex, blzpack, feast, primme, trlan, sowing]optionspackages155,6618
checkpackages    = [arpack, blopex, blzpack, feast, primme, trlan, lapack]checkpackages156,6700
emptyarch = not ('PETSC_ARCH' in os.environ and os.environ['PETSC_ARCH'])emptyarch184,7677
  archname = petsc.archarchname188,7808
libdir  = CreateDir(archdir,'lib',log)libdir192,7942
confdir = CreateDirTwo(libdir,'slepc','conf',log)confdir193,7981
      f = open(os.path.join(confdir,'slepcvariables'),'r')f217,8824
      searchlines = f.readlines()searchlines218,8883
includedir = CreateDir(archdir,'include',log)includedir241,9802
modulesdir = CreateDirTwo(confdir,'modules','slepc',log)modulesdir242,9848
pkgconfdir = CreateDir(libdir,'pkgconfig',log)pkgconfdir243,9905
slepcvars  = CreateFile(confdir,'slepcvariables',log)slepcvars244,9952
slepcrules = CreateFile(confdir,'slepcrules',log)slepcrules245,10006
slepcconf  = CreateFile(includedir,'slepcconf.h',log)slepcconf246,10056
cmakeconf  = CreateFile(confdir,'SLEPcConfig.cmake',log)cmakeconf247,10110
pkgconfig  = CreateFile(pkgconfdir,'SLEPc.pc',log)pkgconfig248,10167
  modules  = CreateFile(modulesdir,slepc.lversion,log)modules250,10238
  modules  = CreateFile(modulesdir,slepc.lversion+'-'+archname,log)modules252,10299
testruns = set(petsc.test_runs.split())testruns258,10526
testruns = testruns.intersection(set(['C','F90','Fortran','C_Complex','Fortran_Complex','C_NoComplex','Fortran_NoComplex']))testruns259,10566
  testruns = testruns.union(set(['C_NoF128']))testruns261,10727
  testruns = testruns.union(set(['DATAFILESPATH']))testruns264,10849
  globconf = CreateFile(os.path.join(slepc.dir,'lib','slepc','conf'),'slepcvariables',log)globconf278,11423
bfort = petsc.bfortbfort329,13662
  bfort = sowing.Install(archdir,petsc.make)bfort331,13709
      bfort = os.path.join(archdir,'bin','bfort')bfort336,13837
      bfort = sowing.Install(archdir,petsc.make)bfort338,13921
cmakeok = Falsecmakeok352,14461
      cmakeok = cmakeboot.main(slepc.dir,petsc.dir,log=log)cmakeok369,15074
      petscdate = dateutil.parser.parse(petsc.gitdate)petscdate405,16475
      slepcdate = dateutil.parser.parse(slepc.gitdate)slepcdate406,16530

config/package.py,589
class Package:Package25,983
  def ProcessArgs(self,argdb):ProcessArgs27,999
  def Process(self,conf,vars,cmake,petsc,archdir=''):Process48,1691
  def ShowHelp(self):ShowHelp61,2150
  def ShowInfo(self):ShowInfo72,2851
  def LinkWithOutput(self,functions,callbacks,flags):LinkWithOutput77,3022
  def Link(self,functions,callbacks,flags):Link128,4856
  def FortranLink(self,functions,callbacks,flags):FortranLink133,5016
  def GenerateGuesses(self,name):GenerateGuesses162,5923
  def FortranLib(self,conf,vars,cmake,dirs,libs,functions,callbacks = []):FortranLib181,6515

config/cmakegen.py,1817
    class defaultdict(dict):defaultdict24,764
        def __init__(self, default_factory=None, *a, **kw):__init__25,793
        def __getitem__(self, key):__getitem__31,1120
        def __missing__(self, key):__missing__36,1298
        def __reduce__(self):__reduce__41,1495
        def copy(self):copy47,1726
        def __copy__(self):__copy__49,1785
        def __deepcopy__(self, memo):__deepcopy__51,1871
        def __repr__(self):__repr__55,2044
class StdoutLogger(object):StdoutLogger59,2204
  def write(self,str):write60,2232
def cmakeconditional(key,val):cmakeconditional63,2271
  def unexpected():unexpected64,2302
AUTODIRS = set('ftn-auto ftn-custom f90-custom'.split()) # Automatically recurse into these, if they existAUTODIRS88,3067
SKIPDIRS = set('benchmarks'.split())                     # Skip these during the buildSKIPDIRS89,3174
NOWARNDIRS = set('tests tutorials'.split())              # Do not warn about mismatch in theseNOWARNDIRS90,3261
def pathsplit(path):pathsplit92,3357
class Mistakes(object):Mistakes101,3640
    def __init__(self, log, verbose=False):__init__102,3664
    def compareDirLists(self,root, mdirs, dirs):compareDirLists107,3790
    def compareSourceLists(self, root, msources, files):compareSourceLists123,4579
    def summary(self):summary139,5470
def stripsplit(line):stripsplit145,6034
def pkgsources(pkg, mistakes):pkgsources148,6114
    def relpath(filename):relpath169,7159
def writeRoot(f,petscdir,petscdestdir):writeRoot180,7717
def writePackage(f,pkg,pkgdeps,mistakes):writePackage223,9378
    def body(indentlevel):body226,9499
def main(slepcdir,petscdir,petscdestdir,log=StdoutLogger(), verbose=False):main249,10483
    written = Truewritten289,12183
  parser = optparse.OptionParser()parser300,12414

config/packages/sowing.py,144
class Sowing(package.Package):Sowing25,972
  def __init__(self,argdb,log):__init__27,1004
  def Install(self,archdir,make):Install35,1223

config/packages/primme.py,148
class Primme(package.Package):Primme25,957
  def __init__(self,argdb,log):__init__27,989
  def Check(self,conf,vars,cmake,petsc):Check35,1195

config/packages/slepc.py,195
class SLEPc:SLEPc24,959
  def __init__(self,argdb,log):__init__26,973
  def ShowHelp(self):ShowHelp34,1276
  def InitDir(self):InitDir41,1659
  def LoadVersion(self):LoadVersion53,2215

config/packages/blopex.py,161
class Blopex(package.Package):Blopex26,996
  def __init__(self,argdb,log):__init__28,1028
  def Install(self,conf,vars,cmake,petsc,archdir):Install36,1247

config/packages/petsc.py,245
class PETSc(package.Package):PETSc24,961
  def __init__(self,argdb,log):__init__26,992
  def Check(self):Check31,1115
  def InitDir(self):InitDir34,1178
  def LoadVersion(self):LoadVersion46,1578
  def LoadConf(self):LoadConf78,2919

config/packages/lapack.py,257
class Lapack(package.Package):Lapack24,947
  def __init__(self,argdb,log):__init__26,979
  def ShowInfo(self):ShowInfo31,1103
  def Process(self,conf,vars,cmake,petsc,archdir=''):Process41,1484
  def Check(self,conf,vars,cmake,petsc):Check47,1689

config/packages/blzpack.py,150
class Blzpack(package.Package):Blzpack24,947
  def __init__(self,argdb,log):__init__26,980
  def Check(self,conf,vars,cmake,petsc):Check34,1187

config/packages/trlan.py,146
class Trlan(package.Package):Trlan24,947
  def __init__(self,argdb,log):__init__26,978
  def Check(self,conf,vars,cmake,petsc):Check34,1183

config/packages/arpack.py,148
class Arpack(package.Package):Arpack24,947
  def __init__(self,argdb,log):__init__26,979
  def Check(self,conf,vars,cmake,petsc):Check34,1185

config/packages/feast.py,146
class Feast(package.Package):Feast24,947
  def __init__(self,argdb,log):__init__26,978
  def Check(self,conf,vars,cmake,petsc):Check34,1183

config/log.py,273
class Log:Log24,942
  def Open(self,filename):Open26,954
  def Println(self,string):Println33,1150
  def Print(self,string):Print37,1227
  def NewSection(self,string):NewSection41,1302
  def write(self,string):write46,1427
  def Exit(self,string):Exit49,1485

config/argdb.py,343
class ArgDB:ArgDB24,938
  def __init__(self,argv):__init__26,952
  def PopString(self,keyword):PopString45,1720
  def PopPath(self,keyword):PopPath61,2091
  def PopUrl(self,keyword):PopUrl77,2472
  def PopBool(self,keyword):PopBool96,2938
  def PopHelp(self):PopHelp112,3304
  def ErrorIfNotEmpty(self):ErrorIfNotEmpty128,3679

config/install.py,1066
  WindowsError = NoneWindowsError7,94
class Installer:Installer9,117
  def __init__(self, args = None):__init__10,134
  def setupDirectories(self):setupDirectories26,775
  def checkDestdir(self):checkDestdir45,1919
  def copytree(self, src, dst, symlinks = False, copyFunc = shutil.copy2, exclude = []):copytree69,3357
  def fixConfFile(self, src):fixConfFile121,5362
  def fixConf(self):fixConf143,6562
  def createUninstaller(self):createUninstaller150,6831
  def installIncludes(self):installIncludes182,7731
  def installConf(self):installConf188,8023
  def installBin(self):installBin193,8248
  def installShare(self):installShare200,8516
  def copyLib(self, src, dst):copyLib204,8630
  def installLib(self):installLib227,9668
  def outputInstallDone(self):outputInstallDone232,9802
  def outputDestDirDone(self):outputDestDirDone242,10110
  def runsetup(self):runsetup251,10378
  def runcopy(self):runcopy256,10464
  def runfix(self):runfix276,11198
  def rundone(self):rundone280,11249
  def run(self):run288,11423

config/cmakeboot.py,647
def noCheck(command, status, output, error):noCheck20,732
def quoteIfNeeded(path):quoteIfNeeded23,787
class StdoutLogger(object):StdoutLogger31,1050
  def write(self,str):write32,1078
class PETScMaker(script.Script):PETScMaker35,1117
 def __init__(self, slepcdir, petscdir, petscarch, argDB = None, framework = None):__init__36,1150
 def __str__(self):__str__47,1544
 def setupModules(self):setupModules50,1578
 def setup(self):setup69,2939
 def cmakeboot(self, args, log):cmakeboot75,3079
def main(slepcdir, petscdir, petscarch=os.environ['PETSC_ARCH'], argDB=None, framework=None, log=StdoutLogger(), args=[]):main176,8202
