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

Will the verification of the author's computer affect the result of the calculation? #716

Closed
bear-maker opened this issue Sep 29, 2024 · 5 comments

Comments

@bear-maker
Copy link

Dear Professor,
I ran epoch on the same computer with the same line of code, but the number of mpiruns was different and the results were different. What is the reason?

@TomGoffrey
Copy link
Contributor

What do you mean by "the number of mpiruns was different"? Different number of MPI processes?

Also, when you say the results were different, could you be more specific? Depending on choices of random seed and differing domain decomposition small differences between runs would be expected.

@bear-maker
Copy link
Author

What do you mean by "the number of mpiruns was different"? Different number of MPI processes?

Also, when you say the results were different, could you be more specific? Depending on choices of random seed and differing domain decomposition small differences between runs would be expected.

1727618250468

1727618250468

@TomGoffrey
Copy link
Contributor

OK, number of MPI processes. What differences do you observe?

@bear-maker
Copy link
Author

OK, number of MPI processes. What differences do you observe?

Thank you for your help. Let me elaborate on this matter in detail.
Comparing the initial electron density of a certain grid, for example, the result I obtained with 80MPI is 2.1e27/cm3, while the result obtained with 40MPI is 2.09e27/cm3. This leads to different results in subsequent calculations. For example, electric and magnetic fields.
A friend told me that I did not enable multi-threaded computation in the code.

@Status-Mirror
Copy link
Collaborator

This is a duplicate, see issue #721.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants