-
Notifications
You must be signed in to change notification settings - Fork 9
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
Mpi example #121
Mpi example #121
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works for me. Notice that I first tried to install mpi4py by using pip on Windows. It led to DLL errors, so I had to reinstall it by using conda. Now it works.
examples/MPI_example/mpi_example.py
Outdated
line of sight of each other. For simplicity, the modelled task here will be to count the number of | ||
window encounters for each satellite. | ||
|
||
N.B. There are some simplifications in this example. Running this on a larger scale |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not really clear what you mean here. I would rephrase it.
examples/MPI_example/mpi_example.py
Outdated
# Synchronize between and print some stats. | ||
comm.Barrier() | ||
end = time.time() | ||
sys.stdout.flush() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you comment what is used for?
Co-authored-by: Gabriele Meoni <70584239+GabrieleMeoni@users.noreply.github.com>
Description
Summary of changes
Resolved Issues
How Has This Been Tested?
Running the script
Related Pull Requests
N/A