We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ec740d + 3b5726a commit 6cc3e71Copy full SHA for 6cc3e71
scripts/mpi_running.py
@@ -12,7 +12,6 @@
12
seed = 8422
13
np.random.seed(seed)
14
15
-
16
def parallel_eig(diag, off_diag, nprocs):
17
print("Spawning a communicator")
18
comm = MPI.COMM_SELF.Spawn(sys.executable, args=["scripts/run.py"], maxprocs=nprocs)
@@ -88,4 +87,4 @@ def compute_eigvals(A, n_procs):
88
87
print(f"The maximum error between real and computed eigenvalues is {max_error}")
89
90
if max_error < 1e-8:
91
- print("Pretty small, huh?")
+ print("Pretty small, huh?")
0 commit comments