Skip to content

Commit 9fec7aa

Browse files
committed
allow-run
1 parent ea93d9c commit 9fec7aa

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

design/Inc_Turbulent_Bend_Wallfunctions/optimization.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@
134134

135135
# Evaluations ---------------------------------------------------------- #
136136

137-
def_command = "mpirun -n " + ncores + " " + su2_run + "SU2_DEF " + configCopy
138-
cfd_command = "mpirun -n " + ncores + " " + su2_run + "SU2_CFD " + configCopy
139-
cfd_ad_command = "mpirun -n " + ncores + " " + su2_run + "SU2_CFD_AD " + configCopy
140-
cfd_command = "mpirun -n " + ncores + " " + su2_run + "SU2_CFD " + configCopy + " && cp restart.csv ../../solution.csv"
141-
cfd_ad_command = "mpirun -n " + ncores + " " + su2_run + "SU2_CFD_AD " + configCopy + " && cp restart_adj_" + objstring + ".csv ../../solution_adj_"+objstring+".csv"
142-
dot_ad_command = "mpirun -n " + ncores + " " + su2_run + "SU2_DOT_AD " + configCopy
137+
def_command = "mpirun --allow-run-as-root -n " + ncores + " " + su2_run + "SU2_DEF " + configCopy
138+
cfd_command = "mpirun --allow-run-as-root -n " + ncores + " " + su2_run + "SU2_CFD " + configCopy
139+
cfd_ad_command = "mpirun --allow-run-as-root -n " + ncores + " " + su2_run + "SU2_CFD_AD " + configCopy
140+
cfd_command = "mpirun --allow-run-as-root -n " + ncores + " " + su2_run + "SU2_CFD " + configCopy + " && cp restart.csv ../../solution.csv"
141+
cfd_ad_command = "mpirun --allow-run-as-root -n " + ncores + " " + su2_run + "SU2_CFD_AD " + configCopy + " && cp restart_adj_" + objstring + ".csv ../../solution_adj_"+objstring+".csv"
142+
dot_ad_command = "mpirun --allow-run-as-root -n " + ncores + " " + su2_run + "SU2_DOT_AD " + configCopy
143143

144144
# global iteration
145145
global_iter = 0

0 commit comments

Comments
 (0)