Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
----> Generating Polarfly topology!!
--> Validating Polarfly(9):
8852: 229 Finished sending packets (total of 10)
8852: 272 Finished sending packets (total of 10)
8852: 273 Finished sending packets (total of 10)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ SuperNodeSize = 8
Num SuperNodes: 21
------> Generating Polarstar topology!!
----> Generating Inductive-quad Graph
--> Validating Inducitve-Quad(3):
--> Validating PolarStar(8):
10196: 38 Finished sending packets (total of 10)
10547: 47 Finished sending packets (total of 10)
10615: 113 Finished sending packets (total of 10)
Expand Down
4 changes: 2 additions & 2 deletions src/sst/elements/merlin/tests/testsuite_default_merlin.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

try:
from sympy.polys.domains import ZZ
except:
except ImportError:
pass
try:
from sympy.polys.galoistools import (gf_irreducible_p, gf_add, gf_mul, gf_rem)
except:
except ImportError:
pass

################################################################################
Expand Down
13 changes: 5 additions & 8 deletions src/sst/elements/merlin/topology/pymerlin-topo-polarfly.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,16 @@

try:
from sympy.polys.domains import ZZ
except:
except ImportError:
pass
#print('--> MODULE NOT FOUND: sympy.polys.domains')
try:
from sympy.polys.galoistools import (gf_irreducible_p, gf_add, gf_mul, gf_rem)
except:
except ImportError:
pass
#print('--> MODULE NOT FOUND: sympy.polys.galoistools')
try:
import networkx as nx
except:
except ImportError:
pass
#print('--> MODULE NOT FOUND: networkx')


#############################################
Expand All @@ -41,10 +38,10 @@ class GF():
def __init__(self, pp):

if not ('sympy.polys.galoistools' in sys.modules):
raise Exception('--> Did not load Sympy Polys Galoistools : module required for field construction')
raise ImportError('--> Did not load Sympy Polys Galoistools : module required for field construction')

if not ('sympy.polys.domains' in sys.modules):
raise Exception('--> Did not load Sympy Polys Domains : module required for field construction')
raise ImportError('--> Did not load Sympy Polys Domains : module required for field construction')


self.pp = int(pp)
Expand Down
3 changes: 1 addition & 2 deletions src/sst/elements/merlin/topology/pymerlin-topo-polarstar.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@

try:
import networkx as nx
except:
except ImportError:
pass
#print('--> MODULE NOT FOUND: networkx')

def isPowerOfPrime(num):
if (num<2):
Expand Down