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

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