
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,3616
def AddDefine(conffile,name,value,prefix='SLEPC_'):AddDefine25,978
def CreateFile(basedir,fname,log):CreateFile28,1124
def CreateDir(basedir,dirname,log):CreateDir37,1389
def CreateDirTwo(basedir,dir1,dir2,log):CreateDirTwo47,1696
def CreateDirTest(basedir,dirname,log):CreateDirTest63,2208
def WriteModulesFile(modules,version,sdir):WriteModulesFile76,2595
def WritePkgconfigFile(pkgconfig,version,pversion,sdir,isinstall,prefixdir):WritePkgconfigFile88,3245
def WriteCMakeConfigFile(cmakeconf):WriteCMakeConfigFile99,3953
configdir = os.path.abspath('config')configdir128,5593
argdb = argdb.ArgDB(sys.argv)argdb136,5869
log   = log.Log()log137,5899
slepc   = slepc.SLEPc(argdb,log)slepc141,6062
petsc   = petsc.PETSc(argdb,log)petsc142,6095
arpack  = arpack.Arpack(argdb,log)arpack143,6128
blopex  = blopex.Blopex(argdb,log)blopex144,6163
blzpack = blzpack.Blzpack(argdb,log)blzpack145,6198
feast   = feast.Feast(argdb,log)feast146,6235
primme  = primme.Primme(argdb,log)primme147,6268
trlan   = trlan.Trlan(argdb,log)trlan148,6303
sowing  = sowing.Sowing(argdb,log)sowing149,6336
lapack  = lapack.Lapack(argdb,log)lapack150,6371
externalpackages = [arpack, blopex, blzpack, feast, primme, trlan]externalpackages152,6407
optionspackages  = [slepc, arpack, blopex, blzpack, feast, primme, trlan, sowing]optionspackages153,6474
checkpackages    = [arpack, blopex, blzpack, feast, primme, trlan, lapack]checkpackages154,6556
emptyarch = not ('PETSC_ARCH' in os.environ and os.environ['PETSC_ARCH'])emptyarch182,7549
  archname = petsc.archarchname186,7680
libdir  = CreateDir(archdir,'lib',log)libdir190,7814
confdir = CreateDirTwo(libdir,'slepc','conf',log)confdir191,7853
      f = open(os.path.join(confdir,'slepcvariables'),'r')f215,8696
      searchlines = f.readlines()searchlines216,8755
includedir = CreateDir(archdir,'include',log)includedir239,9674
modulesdir = CreateDirTwo(confdir,'modules','slepc',log)modulesdir240,9720
pkgconfdir = CreateDir(libdir,'pkgconfig',log)pkgconfdir241,9777
slepcvars  = CreateFile(confdir,'slepcvariables',log)slepcvars242,9824
slepcrules = CreateFile(confdir,'slepcrules',log)slepcrules243,9878
slepcconf  = CreateFile(includedir,'slepcconf.h',log)slepcconf244,9928
cmakeconf  = CreateFile(confdir,'SLEPcBuildInternal.cmake',log)cmakeconf245,9982
pkgconfig  = CreateFile(pkgconfdir,'SLEPc.pc',log)pkgconfig246,10046
  modules  = CreateFile(modulesdir,slepc.lversion,log)modules248,10117
  modules  = CreateFile(modulesdir,slepc.lversion+'-'+archname,log)modules250,10178
testruns = set(petsc.test_runs.split())testruns256,10405
testruns = testruns.intersection(set(['C','F90','Fortran','C_Complex','Fortran_Complex','C_NoComplex','Fortran_NoComplex']))testruns257,10445
  testruns = testruns.union(set(['C_NoF128']))testruns259,10606
    testruns = testruns.union(set(['DATAFILESPATH_Complex']))testruns263,10760
    testruns = testruns.union(set(['DATAFILESPATH']))testruns265,10830
  globconf = CreateFile(os.path.join(slepc.dir,'lib','slepc','conf'),'slepcvariables',log)globconf282,11531
bfort = petsc.bfortbfort333,13770
  bfort = sowing.Install(archdir,petsc.make)bfort335,13817
      bfort = os.path.join(archdir,'bin','bfort')bfort340,13945
      bfort = sowing.Install(archdir,petsc.make)bfort342,14029
cmakeok = Falsecmakeok356,14569
      cmakeok = cmakeboot.main(slepc.dir,petsc.dir,log=log)cmakeok373,15182
      petscdate = dateutil.parser.parse(petsc.gitdate)petscdate409,16583
      slepcdate = dateutil.parser.parse(slepc.gitdate)slepcdate410,16638

config/package.py,767
class Package:Package25,1015
  def __init__(self,argdb,log):__init__27,1031
  def ProcessArgs(self,argdb):ProcessArgs39,1393
  def Process(self,conf,vars,cmake,petsc,archdir=''):Process63,2246
  def Precondition(self,petsc):Precondition80,2879
  def Download(self,externdir,builddir,prefix=None):Download96,3689
  def ShowHelp(self):ShowHelp157,5949
  def ShowInfo(self):ShowInfo168,6670
  def LinkWithOutput(self,functions,callbacks,flags):LinkWithOutput173,6841
  def Link(self,functions,callbacks,flags):Link224,8675
  def FortranLink(self,functions,callbacks,flags):FortranLink229,8835
  def GenerateGuesses(self,name):GenerateGuesses258,9742
  def FortranLib(self,conf,vars,cmake,dirs,libs,functions,callbacks = []):FortranLib277,10334

config/cmakegen.py,1817
    class defaultdict(dict):defaultdict24,771
        def __init__(self, default_factory=None, *a, **kw):__init__25,800
        def __getitem__(self, key):__getitem__31,1127
        def __missing__(self, key):__missing__36,1305
        def __reduce__(self):__reduce__41,1502
        def copy(self):copy47,1733
        def __copy__(self):__copy__49,1792
        def __deepcopy__(self, memo):__deepcopy__51,1878
        def __repr__(self):__repr__55,2051
class StdoutLogger(object):StdoutLogger59,2211
  def write(self,str):write60,2239
def cmakeconditional(key,val):cmakeconditional63,2278
  def unexpected():unexpected64,2309
AUTODIRS = set('ftn-auto ftn-custom f90-custom'.split()) # Automatically recurse into these, if they existAUTODIRS88,3074
SKIPDIRS = set('benchmarks'.split())                     # Skip these during the buildSKIPDIRS89,3181
NOWARNDIRS = set('tests tutorials'.split())              # Do not warn about mismatch in theseNOWARNDIRS90,3268
def pathsplit(path):pathsplit92,3364
class Mistakes(object):Mistakes101,3647
    def __init__(self, log, verbose=False):__init__102,3671
    def compareDirLists(self,root, mdirs, dirs):compareDirLists107,3797
    def compareSourceLists(self, root, msources, files):compareSourceLists123,4586
    def summary(self):summary139,5477
def stripsplit(line):stripsplit145,6041
def pkgsources(pkg, mistakes):pkgsources148,6121
    def relpath(filename):relpath169,7166
def writeRoot(f,petscdir,petscdestdir):writeRoot180,7724
def writePackage(f,pkg,pkgdeps,mistakes):writePackage223,9399
    def body(indentlevel):body226,9520
def main(slepcdir,petscdir,petscdestdir,log=StdoutLogger(), verbose=False):main249,10504
    written = Truewritten289,12204
  parser = optparse.OptionParser()parser300,12435

config/packages/sowing.py,144
class Sowing(package.Package):Sowing25,972
  def __init__(self,argdb,log):__init__27,1004
  def Install(self,archdir,make):Install34,1241

config/packages/primme.py,216
class Primme(package.Package):Primme25,975
  def __init__(self,argdb,log):__init__27,1007
  def Check(self,conf,vars,cmake,petsc):Check38,1415
  def Install(self,conf,vars,cmake,petsc,archdir):Install80,2873

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):Blopex25,975
  def __init__(self,argdb,log):__init__27,1007
  def Install(self,conf,vars,cmake,petsc,archdir):Install37,1389

config/packages/petsc.py,255
class PETSc(package.Package):PETSc24,961
  def __init__(self,argdb,log):__init__26,992
  def Check(self):Check30,1101
  def InitDir(self,prefixdir):InitDir33,1164
  def LoadVersion(self):LoadVersion45,1562
  def LoadConf(self):LoadConf77,2903

config/packages/lapack.py,257
class Lapack(package.Package):Lapack24,947
  def __init__(self,argdb,log):__init__26,979
  def ShowInfo(self):ShowInfo30,1089
  def Process(self,conf,vars,cmake,petsc,archdir=''):Process40,1505
  def Check(self,conf,vars,cmake,petsc):Check46,1710

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,1219

config/packages/trlan.py,213
class Trlan(package.Package):Trlan25,967
  def __init__(self,argdb,log):__init__27,998
  def Check(self,conf,vars,cmake,petsc):Check39,1481
  def Install(self,conf,vars,cmake,petsc,archdir):Install57,1883

config/packages/arpack.py,262
class Arpack(package.Package):Arpack25,967
  def __init__(self,argdb,log):__init__27,999
  def Functions(self,petsc):Functions39,1481
  def Check(self,conf,vars,cmake,petsc):Check65,2290
  def Install(self,conf,vars,cmake,petsc,archdir):Install83,2859

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,1218

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,942
  def __init__(self,argv):__init__26,956
  def PopString(self,keyword):PopString45,1724
  def PopPath(self,keyword):PopPath61,2095
  def PopUrl(self,keyword):PopUrl77,2496
  def PopBool(self,keyword):PopBool96,2962
  def PopHelp(self):PopHelp112,3328
  def ErrorIfNotEmpty(self):ErrorIfNotEmpty128,3703

config/install.py,1067
  WindowsError = NoneWindowsError7,94
class Installer:Installer9,117
  def __init__(self, args = None):__init__10,134
  def setupDirectories(self):setupDirectories26,775
  def checkDestdir(self):checkDestdir46,1986
  def copytree(self, src, dst, symlinks = False, copyFunc = shutil.copy2, exclude = []):copytree70,3424
  def fixConfFile(self, src):fixConfFile122,5490
  def fixConf(self):fixConf144,6690
  def createUninstaller(self):createUninstaller151,6959
  def installIncludes(self):installIncludes183,7859
  def installConf(self):installConf189,8151
  def installBin(self):installBin194,8376
  def installShare(self):installShare201,8644
  def copyLib(self, src, dst):copyLib205,8758
  def installLib(self):installLib230,9912
  def outputInstallDone(self):outputInstallDone235,10066
  def outputDestDirDone(self):outputDestDirDone245,10374
  def runsetup(self):runsetup254,10642
  def runcopy(self):runcopy259,10728
  def runfix(self):runfix279,11462
  def rundone(self):rundone283,11513
  def run(self):run291,11687

config/cmakeboot.py,647
def noCheck(command, status, output, error):noCheck20,746
def quoteIfNeeded(path):quoteIfNeeded23,801
class StdoutLogger(object):StdoutLogger31,1064
  def write(self,str):write32,1092
class PETScMaker(script.Script):PETScMaker35,1131
 def __init__(self, slepcdir, petscdir, petscarch, argDB = None, framework = None):__init__36,1164
 def __str__(self):__str__47,1558
 def setupModules(self):setupModules50,1592
 def setup(self):setup69,2953
 def cmakeboot(self, args, log):cmakeboot75,3093
def main(slepcdir, petscdir, petscarch=os.environ['PETSC_ARCH'], argDB=None, framework=None, log=StdoutLogger(), args=[]):main176,8215
