mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
CONFIG: handle mpirunDebug stdin redirection before execution (#3389)
- previously handled stdin redirection as part of the run command but (as Alexey Matveichev noted) this meant the command would actually require an `eval` for this to work. Instead redirect before executing the run command. - can always use 'echo -e' (bash builtin) in mpirunDebug CONFIG: add removal of mpirun.files/ to CleanFunctions - leave mpirun.log/ files untouched, since they may still be useful for later diagnosis
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
# \\/ M anipulation |
|
||||
#------------------------------------------------------------------------------
|
||||
# Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
# Copyright (C) 2015-2023 OpenCFD Ltd.
|
||||
# Copyright (C) 2015-2025 OpenCFD Ltd.
|
||||
#------------------------------------------------------------------------------
|
||||
# License
|
||||
# This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
|
||||
@ -32,10 +32,13 @@ cleanTimeDirectories()
|
||||
}
|
||||
|
||||
|
||||
# Various files (logs, paraview, etc)
|
||||
# Various files (logs, paraview, some mpirunDebug, etc)
|
||||
# Note: leave mpirun.log/ files untouched, since they may still be useful
|
||||
# for later diagnosis
|
||||
cleanAuxiliary()
|
||||
{
|
||||
rm -rf \
|
||||
./mpirun.files \
|
||||
./log ./log.* ./log-* ./logSummary.* \
|
||||
./.fxLock ./*.xml ./ParaView* ./paraFoam* \
|
||||
./*.blockMesh ./*.foam ./*.OpenFOAM \
|
||||
|
||||
Reference in New Issue
Block a user