foamRun: Execute from backwards-compatibility redirection scripts using 'exec env'
to ensure proper clean-up of the foamRun child process if executed from mpirun and mpirun is killed.
This commit is contained in:
@ -41,6 +41,6 @@ fluid solver module executed by the foamRun application:
|
||||
|
||||
EOF
|
||||
|
||||
foamRun -solver fluid "$@"
|
||||
exec env foamRun -solver fluid "$@"
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -41,6 +41,6 @@ multicomponentFluid solver module executed by the foamRun application:
|
||||
|
||||
EOF
|
||||
|
||||
foamRun -solver multicomponentFluid "$@"
|
||||
exec env foamRun -solver multicomponentFluid "$@"
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -38,6 +38,6 @@ foamMultiRun solver module executor which will be executed instead:
|
||||
|
||||
EOF
|
||||
|
||||
foamMultiRun "$@"
|
||||
exec env foamMultiRun "$@"
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -41,6 +41,6 @@ compressibleVoF solver module executed by the foamRun application:
|
||||
|
||||
EOF
|
||||
|
||||
foamRun -solver compressibleVoF "$@"
|
||||
exec env foamRun -solver compressibleVoF "$@"
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -41,6 +41,6 @@ fluid solver module executed by the foamRun application:
|
||||
|
||||
EOF
|
||||
|
||||
foamRun -solver incompressibleFluid "$@"
|
||||
exec env foamRun -solver incompressibleFluid "$@"
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -41,6 +41,6 @@ fluid solver module executed by the foamRun application:
|
||||
|
||||
EOF
|
||||
|
||||
foamRun -solver incompressibleFluid "$@"
|
||||
exec env foamRun -solver incompressibleFluid "$@"
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -41,6 +41,6 @@ multicomponentFluid solver module executed by the foamRun application:
|
||||
|
||||
EOF
|
||||
|
||||
foamRun -solver multicomponentFluid "$@"
|
||||
exec env foamRun -solver multicomponentFluid "$@"
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -41,6 +41,6 @@ fluid solver module executed by the foamRun application:
|
||||
|
||||
EOF
|
||||
|
||||
foamRun -solver fluid "$@"
|
||||
exec env foamRun -solver fluid "$@"
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -40,6 +40,6 @@ fluid solver module which will be executed using
|
||||
|
||||
EOF
|
||||
|
||||
foamRun -solver fluid "$@"
|
||||
exec env foamRun -solver fluid "$@"
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -41,6 +41,6 @@ fluid solver module executed by the foamRun application:
|
||||
|
||||
EOF
|
||||
|
||||
foamRun -solver incompressibleFluid "$@"
|
||||
exec env foamRun -solver incompressibleFluid "$@"
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user