Exemplo n.º 1
0
 def test_archDelete(self):
     libPath = getLibPath()
     libScotch = scotch.LibScotch(libraryPath=libPath)
     self.assertTrue(libScotch.isLoaded())
     self.assertTrue(libScotch.createSCOTCHArch())
     libScotch.deleteSCOTCHArch()
     self.assertTrue(libScotch.architecture is None)
Exemplo n.º 2
0
 def test_stratCreation(self):
     libPath = getLibPath()
     libScotch = scotch.LibScotch(libraryPath=libPath)
     self.assertTrue(libScotch.isLoaded())
     self.assertTrue(libScotch.createSCOTCHGraphMapStrategy(''))
Exemplo n.º 3
0
 def test_archPopulate(self):
     libPath = getLibPath()
     libScotch = scotch.LibScotch(libraryPath=libPath)
     self.assertTrue(libScotch.isLoaded())
     self.assertTrue(libScotch.createSCOTCHArch())
     self.assertTrue(libScotch.populatePartitionArchitecture(10))
Exemplo n.º 4
0
    def test_archMethods(self):
        libPath = getLibPath()
        libScotch = scotch.LibScotch(libraryPath=libPath)
        self.assertTrue(libScotch.isLoaded())

        self.assertTrue(libScotch.createSCOTCHArch())
Exemplo n.º 5
0
 def test_loadScotchLibrary(self):
     libPath = getLibPath()
     libScotch = scotch.LibScotch(libraryPath=libPath)
     self.assertTrue(libScotch.isLoaded())