Handle 1D arrays for MPI_Ssend and Add Test for MPI_WaitAll#91
Draft
adit4443ya wants to merge 3 commits intolfortran:mainfrom
Draft
Handle 1D arrays for MPI_Ssend and Add Test for MPI_WaitAll#91adit4443ya wants to merge 3 commits intolfortran:mainfrom
adit4443ya wants to merge 3 commits intolfortran:mainfrom
Conversation
Collaborator
Author
|
Lfortran is giving segfault while rest of the tests passes , will investigate later |
Collaborator
|
At the CI, even the job Run standalone tests with MPICH without custom MPI Wrappers (ubuntu-20.04) failed, which is odd. Atleast this job has nothing to do with LFortran. I checked it locally on my macOS, and it passes with MPICH without custom MPI wrappers. |
Collaborator
|
Also, I checked it with LFortran as well, and > ./run_tests.sh waitall_1.f90
#################################
Using FC=/Users/gxyd/miniforge3/envs/pot3d_build/bin/lfortran compiler
Using CC=clang compiler
################################
Received argument(s). Will only compile/run: waitall_1.f90
Compiling waitall_1...
Running waitall_1 with 1 MPI ranks...
This test requires at least 2 MPI processes.
Test waitall_1 with 1 MPI ranks PASSED!
Running waitall_1 with 2 MPI ranks...
Rank 1 received buf1 = 1.00000000000000000e+00 2.00000000000000000e+00 3.00000000000000000e+00 4.00000000000000000e+00 5.00000000000000000e+00 6.00000000000000000e+00 7.00000000000000000e+00 8.00000000000000000e+00 9.00000000000000000e+00
Rank 1 received buf2 = 1.00000000000000000e+00 2.00000000000000000e+00 3.00000000000000000e+00 4.00000000000000000e+00 5.00000000000000000e+00 6.00000000000000000e+00 7.00000000000000000e+00 8.00000000000000000e+00 9.00000000000000000e+00
Rank 0 sent two messages.
Test waitall_1 with 2 MPI ranks PASSED!
Running waitall_1 with 4 MPI ranks...
Rank 0 sent two messages.
Rank 1 received buf1 = 1.00000000000000000e+00 2.00000000000000000e+00 3.00000000000000000e+00 4.00000000000000000e+00 5.00000000000000000e+00 6.00000000000000000e+00 7.00000000000000000e+00 8.00000000000000000e+00 9.00000000000000000e+00
Rank 1 received buf2 = 1.00000000000000000e+00 2.00000000000000000e+00 3.00000000000000000e+00 4.00000000000000000e+00 5.00000000000000000e+00 6.00000000000000000e+00 7.00000000000000000e+00 8.00000000000000000e+00 9.00000000000000000e+00
Test waitall_1 with 4 MPI ranks PASSED!
... Running standalone tests took 4 seconds ...
> echo $?
0 |
Collaborator
|
Even the tests that I added, fail #90 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.