Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start tracing breakage #12464

Closed
wants to merge 18 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 0 additions & 8 deletions .gitmodules
@@ -1,11 +1,3 @@
[submodule "prrte"]
path = 3rd-party/prrte
url = ../../openpmix/prrte
branch = v3.0
[submodule "openpmix"]
path = 3rd-party/openpmix
url = ../../openpmix/openpmix.git
branch = v4.2
[submodule "oac"]
path = config/oac
url = ../../open-mpi/oac
1 change: 0 additions & 1 deletion 3rd-party/openpmix
Submodule openpmix deleted from 33e934
188 changes: 188 additions & 0 deletions 3rd-party/openpmix/.clang-format
@@ -0,0 +1,188 @@
# This file represents the coding style enforced by PMIx. This file
# is based on the long-held, but not enforced, guidelines from the
# beginning of the project. We will be requiring that all code going
# forward uses this style. To check your code before attempting to open
# a PR install clang-format and run your commits through clang-format.
#
# To install clang-format:
#
# macOS:
# Homebrew: brew install clang-format
# Mac Ports: port install clang
#
# Linux:
# debian/ubuntu/rasbian: apt-get install clang-format
# redhat/fedora: yum install clang-format
#
# To run against your code changes:
#
# unstaged changes: git clang-format --style file -f
# staged changes: git clang-format --style file
#
# For interactive add the -p option.
#
# To run against all of PMIx:
#
# ./contrib/clang-format-pmix.sh
#
# This command is intended to be run only once.
---
Language: Cpp
# BasedOnStyle: LLVM
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: true
AlignConsecutiveAssignments: false
AlignConsecutiveBitFields: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Left
AlignOperands: Align
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortEnumsOnASingleLine: true
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: MultiLine
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: true
BreakBeforeBraces: Custom
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 100
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DeriveLineEnding: true
DerivePointerAlignment: false
DisableFormat: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
- BOOST_FOREACH
- OPAL_LIST_FOREACH
- OPAL_LIST_FOREACH_DECL
- OPAL_LIST_FOREACH_SAFE
- OPAL_LIST_FOREACH_REV
- OPAL_LIST_FOREACH_SAFE_REV
- OPAL_HASH_TABLE_FOREACH
- OPAL_HASH_TABLE_FOREACH_PTR
IncludeBlocks: Preserve
IncludeCategories:
# Ensure config includes always come first (opal_config.h, ompi_config.h, etc)
- Regex: '^".*_config\.h"'
Priority: -1
# In-tree includes come next (after main include)
- Regex: '^".*"'
Priority: 2
# System includes come last
- Regex: '^<.*>'
Priority: 3
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IndentCaseLabels: false
IndentCaseBlocks: false
IndentGotoLabels: true
IndentPPDirectives: AfterHash
IndentExternBlock: AfterExternBlock
IndentWidth: 4
IndentWrappedFunctionNames: false
InsertTrailingCommas: None
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 4
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 301
PenaltyBreakBeforeFirstCallParameter: 300
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: true
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
Standard: Latest
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
- BEGIN_C_DECLS
- END_C_DECLS
TabWidth: 8
UseCRLF: false
UseTab: Never
WhitespaceSensitiveMacros:
- _STRINGIZE
- STRINGIZE
- PP_STRINGIZE
- BOOST_PP_STRINGIZE
...


34 changes: 34 additions & 0 deletions 3rd-party/openpmix/.github/CONTRIBUTING.md
@@ -0,0 +1,34 @@
## How to contribute to the PMIx Reference Library

General information about contributing to the PMIx project can be found at the [Contributing to PMIx webpage](https://pmix.org/code/contribute/).
The instructions below are specifically for opening issues and pull requests against the PMIx Reference Library.

#### **Did you find a bug?**

* **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/pmix/pmix/issues).

* If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/pmix/pmix/issues/new).

* For more detailed information on submitting a bug report and creating an issue, visit our [FAQ](https://pmix.org/support/faq).

#### **Did you write a patch that fixes a bug?**

* Open a new GitHub pull request with the patch.

* Ensure the PR description clearly describes the problem and solution. If there is an existing GitHub issue open describing this bug, please include it in the description so we can close it.

* Before submitting, please read the [Contributing to the PMIx Project FAQ](https://pmix.org/support/faq/contributing) and the [SubmittingPullRequests](https://pmix.org/support/faq/submitting-pull-requests) web pages. In particular, note that all git commits contributed to PMIx require a Signed-off-by line.

#### **Do you intend to add a new feature or change an existing one?**

* Suggest your change on the [devel mail list](https://groups.google.com/forum/#!forum/pmix) and start writing code.

* Do not open an issue on GitHub until you have collected positive feedback about the change. GitHub issues are primarily intended for bug reports and fixes.

#### **Do you have questions about the source code?**

* We are working to provide more online info about the PMIx code. Meantime, the [devel mail list](https://groups.google.com/forum/#!forum/pmix) is a good place to post questions about the source code.

Thanks

The PMIx Team
11 changes: 11 additions & 0 deletions 3rd-party/openpmix/.github/actions/mlnx/Dockerfile
@@ -0,0 +1,11 @@
FROM centos:7.6.1810

RUN \
yum install -y perl perl-Data-Dumper \
python3 python3-pip python-virtualenv \
automake libtool flex make bzip2 git which rpm-build libevent-devel hwloc hwloc-devel

COPY entrypoint.sh /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]

12 changes: 12 additions & 0 deletions 3rd-party/openpmix/.github/actions/mlnx/action.yml
@@ -0,0 +1,12 @@
name: 'MLNX CI for PMIx'
description: 'Build & test PMIx'
inputs:
target:
description: 'build/srcrpm/test'
required: true
default: 'build'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.target }}