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
|
EOF
|
||||||
|
|
||||||
foamRun -solver fluid "$@"
|
exec env foamRun -solver fluid "$@"
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -41,6 +41,6 @@ multicomponentFluid solver module executed by the foamRun application:
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
foamRun -solver multicomponentFluid "$@"
|
exec env foamRun -solver multicomponentFluid "$@"
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -38,6 +38,6 @@ foamMultiRun solver module executor which will be executed instead:
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
foamMultiRun "$@"
|
exec env foamMultiRun "$@"
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -41,6 +41,6 @@ compressibleVoF solver module executed by the foamRun application:
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
foamRun -solver compressibleVoF "$@"
|
exec env foamRun -solver compressibleVoF "$@"
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -41,6 +41,6 @@ fluid solver module executed by the foamRun application:
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
foamRun -solver incompressibleFluid "$@"
|
exec env foamRun -solver incompressibleFluid "$@"
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -41,6 +41,6 @@ fluid solver module executed by the foamRun application:
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
foamRun -solver incompressibleFluid "$@"
|
exec env foamRun -solver incompressibleFluid "$@"
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -41,6 +41,6 @@ multicomponentFluid solver module executed by the foamRun application:
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
foamRun -solver multicomponentFluid "$@"
|
exec env foamRun -solver multicomponentFluid "$@"
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -41,6 +41,6 @@ fluid solver module executed by the foamRun application:
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
foamRun -solver fluid "$@"
|
exec env foamRun -solver fluid "$@"
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -40,6 +40,6 @@ fluid solver module which will be executed using
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
foamRun -solver fluid "$@"
|
exec env foamRun -solver fluid "$@"
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -41,6 +41,6 @@ fluid solver module executed by the foamRun application:
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
foamRun -solver incompressibleFluid "$@"
|
exec env foamRun -solver incompressibleFluid "$@"
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user