Skip to content

Commit 686ba0b

Browse files
committed
TL: gngngnggn
1 parent 48ebc8b commit 686ba0b

File tree

1 file changed

+1
-1
lines changed
  • pySDC/playgrounds/dedalus/problems

1 file changed

+1
-1
lines changed

pySDC/playgrounds/dedalus/problems/rbc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def runSimulation(cls, runDir, tEnd, baseDt, tBeg=0, logEvery=100,
272272
if writeDecomposition:
273273
decompFile = f"{runDir}/decomp.txt"
274274
if MPI_RANK == 0:
275-
with open(decompFile, "r") as f:
275+
with open(decompFile, "w") as f:
276276
f.write("Parallel distribution on compute cores\n")
277277
f.write(f" -- space parallelization on {p.sComm.Get_size()} procs\n")
278278
if timeParallel:

0 commit comments

Comments
 (0)