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

Fix overflows up to at least tco1279 #162

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

lukasm91
Copy link
Collaborator

This is one more change that Olivier ported from my branch to his branch, and now I am taking it to develop.

The upper end of the sizes that this allows is certainly more "theoretical" because we can't run simulations with it, but even for real use-cases, we might see overflows without this, and those can be very difficult to spot. With one rank, we can grow to very large domains, with multiple ranks, at some point we run into overflows of the MPI buffers, those are properly diagnosed.

This will conflict with #161 , but should be trivial to resolve.

@lukasm91 lukasm91 changed the title Fix overflows up to tco1279 Fix overflows up to at least tco1279 Oct 16, 2024
@lukasm91 lukasm91 changed the base branch from main to develop October 17, 2024 06:30
enddo
end subroutine
subroutine ext_acc_delete(ptrs, stream)
use openacc, only: acc_async_sync, acc_delete
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why remove acc_delete? It is still called below.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

that is a stupid typo... it should not be called. I had to switch to clauses because acc_delete only takes int32, not int64. This code deallocated nothing :D I will test if everything properly deallocates after #151 has been merged).

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

Successfully merging this pull request may close these issues.

2 participants