You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print('A TypeError occured in pysu2.CSingleZoneDriver : ',exception)
102
-
ifhave_MPI==True:
105
+
ifhave_MPI:
103
106
print('ERROR : You are trying to initialize MPI with a serial build of the wrapper. Please, remove the --parallel option that is incompatible with a serial build.')
104
107
else:
105
108
print('ERROR : You are trying to launch a computation without initializing MPI but the wrapper has been built in parallel. Please add the --parallel option in order to initialize MPI for the wrapper.')
106
109
return
107
110
108
-
ifhave_MPI==True:
111
+
ifhave_MPI:
109
112
comm.barrier()
110
113
111
114
# --- Initialize the solid solver --- # (!! for now we are using only serial solid solvers)
@@ -125,29 +128,29 @@ def main():
125
128
else:
126
129
SolidSolver=None
127
130
128
-
ifhave_MPI==True:
131
+
ifhave_MPI:
129
132
comm.barrier()
130
133
131
134
# --- Initialize and set the FSI interface (coupling environement) --- #
0 commit comments