Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: karasevb/pmix
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: openpmix/openpmix
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
Loading
Showing 1,045 changed files with 171,236 additions and 60,735 deletions.
188 changes: 188 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -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
...


35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Bug report
about: Thank you for taking the time to submit an issue!
title: ''
labels: ''
assignees: ''

---

## Background information

### What version of the PMIx Reference Library are you using?
(e.g., v1.0, v2.1, git master @ hash, etc.)


### Describe how PMIx was installed
(e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)


### Please describe the system on which you are running

* Operating system/version:
* Computer hardware:
* Network type:

-----------------------------

## Details of the problem

Please describe, in detail, the problem that you are having, including the behavior you expect to see, the actual behavior that you are seeing, steps to reproduce the problem, etc. It is most helpful if you can attach a small program that a developer can use to reproduce your problem.

**Note**: If you include verbatim output (or a code block), please use a [GitHub Markdown](https://help.github.com/articles/creating-and-highlighting-code-blocks/) code block like below:
```shell
shell$ prun -np 2 ./hello_world
```
11 changes: 11 additions & 0 deletions .github/actions/mlnx/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM almalinux:9

RUN \
dnf install -y perl perl-Data-Dumper \
python3 python3-pip zlib \
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 .github/actions/mlnx/action.yml
Original file line number Diff line number Diff line change
@@ -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 }}
Loading