mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- can use -mpi-no-comm-dup to suppress the initial communicator duplication (to avoid potential deadlock with coupled processes). This is partly related to comments in merge-request !735 ENH: simplify parsing/removal of local -world option - can extract the world name in a single pass and also makes the parsing robuster. ENH: support regular MPI_Comm_split() - the two-step method of Allgather + Comm_create_group may not be expected by other applications (issue #3127) and that can lead to deadlock, so also add in code for the regular MPI_Comm_split. Does not support re-sorting keys! FIX: faulty logic for splitting communicators - only affected more recent develop branch
39 lines
1.3 KiB
Bash
Executable File
39 lines
1.3 KiB
Bash
Executable File
#!/bin/sh
|
|
#------------------------------------------------------------------------------
|
|
# ========= |
|
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
# \\ / O peration |
|
|
# \\ / A nd | www.openfoam.com
|
|
# \\/ M anipulation |
|
|
#-------------------------------------------------------------------------------
|
|
# Copyright (C) 2020-2025 OpenCFD Ltd.
|
|
#------------------------------------------------------------------------------
|
|
# License
|
|
# This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
|
|
#
|
|
# Script
|
|
# help-filter
|
|
#
|
|
# Description
|
|
# Feed with output from -help-full.
|
|
#
|
|
# For example,
|
|
# blockMesh -help-full | ./help-filter
|
|
#
|
|
#------------------------------------------------------------------------------
|
|
|
|
sed -ne '1,/^[Oo]ptions:/d' \
|
|
-e '/^ \{8\}/d;' \
|
|
-e 's/^ *//; /^$/d; /^[^-]/d; /^--/d;' \
|
|
-e '/^-doc-source/d; /^-help-man/d;' \
|
|
-e '/^-hostRoots /d; /^-roots /d;' \
|
|
-e '/^-lib /d; /^-no-libs /d;' \
|
|
-e '/^-mpi-.*/d;' \
|
|
-e '/^-[a-z]*-switch /d;' \
|
|
-e 'y/,/ /; s/=.*$/=/;' \
|
|
-e '/^-[^ ]* </{ s/^\(-[^ ]* <\).*$/\1/; p; d }' \
|
|
-e 's/^\(-[^ ]*\).*$/\1/; p; /^-help-full/q;' \
|
|
-
|
|
|
|
#------------------------------------------------------------------------------
|