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

testsuite: add pingpong test #37

Merged
merged 2 commits into from
Oct 1, 2021
Merged

Conversation

garlick
Copy link
Member

@garlick garlick commented Oct 1, 2021

I was a little concerned that maybe something basic was not working because of #36 and wanted to take a smaller step between the "hello world" tests in t1000-ompi-basic.t and t1001-osu-benchmarks.t so this PR adds a little test to the former that moves a bit of data between two ranks in 1np2 and 2np2 configs.

Ultimately this didn't provide any useful clues to #36 but it still may not be a bad thing to do.

Problem: there is a lot of repetition in t/src/Makefile.am

Put all the cppflags in $(AM_CPPFLAGS) so it applies by default
to each target.

Move all the libs to $(test_ldadd).
Problem: the testing in t1000-ompi-basic.t does not include
MPI_Send() / MPI_Recv(), perhaps omitting a basic sanity check
that would catch early problems.

Add a simple MPI ping-pong program.

Run it in 1n2p and 2n2p configs from t1000-ompi-basic.t.
@codecov
Copy link

codecov bot commented Oct 1, 2021

Codecov Report

Merging #37 (4a9db40) into main (1e7c715) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #37   +/-   ##
=======================================
  Coverage   78.39%   78.39%           
=======================================
  Files          10       10           
  Lines        1185     1185           
=======================================
  Hits          929      929           
  Misses        256      256           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1e7c715...4a9db40. Read the comment docs.

Copy link
Contributor

@grondo grondo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@garlick
Copy link
Member Author

garlick commented Oct 1, 2021

Thanks!

@garlick garlick added the merge-when-passing Let mergify auto-rebase and merge when CI passes label Oct 1, 2021
@mergify mergify bot merged commit 21c666b into flux-framework:main Oct 1, 2021
@garlick garlick deleted the pingpong branch October 2, 2021 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-when-passing Let mergify auto-rebase and merge when CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants