Skip to content

Commit 222e809

Browse files
minor
1 parent e002a95 commit 222e809

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

kratos.gid/kratos.tcl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -399,15 +399,12 @@ proc Kratos::Event_BeforeRunCalculation { batfilename basename dir problemtypedi
399399
catch {
400400
# If the user selected MPI, stop it!
401401
set paralleltype [write::getValue ParallelType]
402+
# MPI must be launched manually
402403
if {$paralleltype eq "MPI"} {set run 0}
403404
}
404-
if {$run} {
405-
return ""
406-
} {
405+
if {!$run} {
407406
return [list "-cancel-" [= "You have selected MPI parallelism system.\nInput files have been written.\nRun the MPILauncher.sh script" ]]
408-
409407
}
410-
411408
}
412409

413410
proc Kratos::Event_AfterWriteCalculationFile { filename errorflag } {

0 commit comments

Comments
 (0)