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

AMReX: Update to latest development #232

Merged
merged 3 commits into from
Dec 12, 2023
Merged

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Dec 11, 2023

Update to latest commit in development.

Introduces the new idcpu treatment in pure SoA particles:

@ax3l ax3l added the enhancement New feature or request label Dec 11, 2023
@ax3l ax3l marked this pull request as ready for review December 11, 2023 21:53
Update to latest commit in `development`.

Introduces the new `idcpu` treatment in pure SoA particles:
AMReX-Codes/amrex#3585
atmyers pushed a commit to AMReX-Codes/amrex that referenced this pull request Dec 12, 2023
## Summary

From #3585 commit: fixes a segfault for the legacy particle layout:
```
Thread 1 "python3" received signal SIGSEGV, Segmentation fault.
0x00007ffff5951e5c in amrex::ParticleTile<amrex::Particle<1, 1>, 2, 1, std::allocator>::push_back<2, 1, 0> (this=0x555555f206e0, sp=...) at /home/axel/src/pyamrex/build/_deps/fetchedamrex-src/Src/Particle/AMReX_ParticleTile.H:916
916	            m_soa_tile.GetIdCPUData()[np] = sp.m_idcpu;
```

## Additional background

X-ref: AMReX-Codes/pyamrex#232

## Checklist

The proposed changes:
- [x] fix a bug or incorrect behavior in AMReX
- [ ] add new capabilities to AMReX
- [ ] changes answers in the test suite to more than roundoff level
- [ ] are likely to significantly affect the results of downstream AMReX
users
- [ ] include documentation in the code and/or rst files, if appropriate
@ax3l ax3l merged commit d9787b4 into AMReX-Codes:development Dec 12, 2023
13 checks passed
@ax3l ax3l deleted the update-amrex branch December 12, 2023 05:47
guj pushed a commit to guj/amrex that referenced this pull request Dec 13, 2023
## Summary

From AMReX-Codes#3585 commit: fixes a segfault for the legacy particle layout:
```
Thread 1 "python3" received signal SIGSEGV, Segmentation fault.
0x00007ffff5951e5c in amrex::ParticleTile<amrex::Particle<1, 1>, 2, 1, std::allocator>::push_back<2, 1, 0> (this=0x555555f206e0, sp=...) at /home/axel/src/pyamrex/build/_deps/fetchedamrex-src/Src/Particle/AMReX_ParticleTile.H:916
916	            m_soa_tile.GetIdCPUData()[np] = sp.m_idcpu;
```

## Additional background

X-ref: AMReX-Codes/pyamrex#232

## Checklist

The proposed changes:
- [x] fix a bug or incorrect behavior in AMReX
- [ ] add new capabilities to AMReX
- [ ] changes answers in the test suite to more than roundoff level
- [ ] are likely to significantly affect the results of downstream AMReX
users
- [ ] include documentation in the code and/or rst files, if appropriate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant