-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix NaNs in the code. Produces expected results. #15
Fix NaNs in the code. Produces expected results. #15
Conversation
Atmosphere/gpu Update from original
@Pranay-Reddy-Kommera I think you should have permission to close PR #9 #13 and #14 . When doing so, it may be good to leave a comment there explaining why the PRs are no longer needed (referencing this PR as appropriate). |
Sure. Will do it. |
@Pranay-Reddy-Kommera It looks like there are two commits in this PR, the first of which is a merge to your You can imagine how confusing the history of a branch can become if that branch's history includes many repeated merges between itself and the same branch on someone else's fork. This is why we prefer to update branches with the same name (e.g., |
@Pranay-Reddy-Kommera The code changes themselves look fine, but can you update the commit message as well as the first comment in this PR (which will be used as the merge commit message) to explain the changes in more detail. Even being somewhat familiar with what's going on, I still don't understand exactly why we are changing some |
They are two subroutines which are not being executed on GPU, so in that case if we have mpas_pool_get_array_gpu calls in that subroutines, we are copying/updating data on GPU which is resulting in asynchronous data between CPU and GPU during the time of OpenAC execution. That is the reason why we changed calls to mpas_pool_get_array in subroutines where no openacc code is present. |
@mgduda I understood what you are saying about updating my fork with raghu's code and then working on it. I will update my fork and then make changes to it and will create pull requests then. In between, we saw few irregularities in the results when we increase the number of GPU nodes. At present we are debugging this error. Once we fix it I will create new pull requests and send it to you for approval. So, we will wait on this PR for some time until we fix our code. |
@Pranay-Reddy-Kommera Are the changes in this PR superseded by those in PR #17 ? If so, please feel free to close this PR. |
@mgduda I am closing this PR. |
This pull request includes the suggestions made by Raghu in the code to fix the NaNs in the results.
Please, kindly close PR#9, #13 and #14. We do not need those changes to be included in the code.