예제 #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)
예제 #2
0
 def test_stratCreation(self):
     libPath = getLibPath()
     libScotch = scotch.LibScotch(libraryPath=libPath)
     self.assertTrue(libScotch.isLoaded())
     self.assertTrue(libScotch.createSCOTCHGraphMapStrategy(''))
예제 #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))
예제 #4
0
    def test_archMethods(self):
        libPath = getLibPath()
        libScotch = scotch.LibScotch(libraryPath=libPath)
        self.assertTrue(libScotch.isLoaded())

        self.assertTrue(libScotch.createSCOTCHArch())
예제 #5
0
 def test_loadScotchLibrary(self):
     libPath = getLibPath()
     libScotch = scotch.LibScotch(libraryPath=libPath)
     self.assertTrue(libScotch.isLoaded())