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:
Henry Weller
2022-09-15 13:58:40 +01:00
parent fb8e61fbc6
commit 5a71e390f2
10 changed files with 10 additions and 10 deletions

View File

@ -41,6 +41,6 @@ fluid solver module executed by the foamRun application:
EOF EOF
foamRun -solver fluid "$@" exec env foamRun -solver fluid "$@"
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -41,6 +41,6 @@ multicomponentFluid solver module executed by the foamRun application:
EOF EOF
foamRun -solver multicomponentFluid "$@" exec env foamRun -solver multicomponentFluid "$@"
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -38,6 +38,6 @@ foamMultiRun solver module executor which will be executed instead:
EOF EOF
foamMultiRun "$@" exec env foamMultiRun "$@"
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -41,6 +41,6 @@ compressibleVoF solver module executed by the foamRun application:
EOF EOF
foamRun -solver compressibleVoF "$@" exec env foamRun -solver compressibleVoF "$@"
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -41,6 +41,6 @@ fluid solver module executed by the foamRun application:
EOF EOF
foamRun -solver incompressibleFluid "$@" exec env foamRun -solver incompressibleFluid "$@"
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -41,6 +41,6 @@ fluid solver module executed by the foamRun application:
EOF EOF
foamRun -solver incompressibleFluid "$@" exec env foamRun -solver incompressibleFluid "$@"
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -41,6 +41,6 @@ multicomponentFluid solver module executed by the foamRun application:
EOF EOF
foamRun -solver multicomponentFluid "$@" exec env foamRun -solver multicomponentFluid "$@"
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -41,6 +41,6 @@ fluid solver module executed by the foamRun application:
EOF EOF
foamRun -solver fluid "$@" exec env foamRun -solver fluid "$@"
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -40,6 +40,6 @@ fluid solver module which will be executed using
EOF EOF
foamRun -solver fluid "$@" exec env foamRun -solver fluid "$@"
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -41,6 +41,6 @@ fluid solver module executed by the foamRun application:
EOF EOF
foamRun -solver incompressibleFluid "$@" exec env foamRun -solver incompressibleFluid "$@"
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------