Skip to content

Conversation

@mcoil1
Copy link
Contributor

@mcoil1 mcoil1 commented Dec 14, 2019

See individual commit messages.

This change fixes the misleading error message. I added a conditional to
determine whether the error is due to a missing file or a bad interpreter.
If it is the latter, a new, more precise error message will be displayed.

Fixes open-mpi#4528

Signed-off-by: Maxwell Coil <mcoil@nd.edu>
(cherry picked from commit 9b73f6a)
Squash compiler warning.

Signed-off-by: Maxwell Coil <mcoil@nd.edu>
(cherry picked from commit 3ced33c)
Squash compiler warning.

Signed-off-by: Maxwell Coil <mcoil@nd.edu>
(cherry picked from commit 52241db)
Squash compiler warning due to whitespace/brace problems.

The code block from lines 829-839 was improperly indented, which led to
both the code being confusing and a compiler warning. Comparing this code to
the current version in the MPICH repo made it clear that the code was simply
improperly indented. Fixing the indentation both makes the code readable and
squashes the compiler warning.

Signed-off-by: Maxwell Coil <mcoil@nd.edu>
(cherry picked from commit 8c237e2)
syscall() returns a long, but we are invoking shmat(), which returns
a void*.

Signed-off-by: Maxwell Coil <mcoil@nd.edu>
(cherry picked from commit 52a9cce)
@ompiteam-bot
Copy link

Can one of the admins verify this patch?

@hppritcha hppritcha self-requested a review December 16, 2019 20:24
@hppritcha hppritcha added the NEWS label Dec 16, 2019
@jsquyres
Copy link
Member

ok to test

@jsquyres jsquyres added this to the v4.0.3 milestone Dec 17, 2019
@hppritcha hppritcha removed the NEWS label Dec 17, 2019
@hppritcha hppritcha merged commit c0b27e4 into open-mpi:v4.0.x Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants