Skip to content

[WIP] CI: Conda Compilers#3817

Open
ax3l wants to merge 7 commits into
BLAST-WarpX:developmentfrom
ax3l:ci-conda-compilers
Open

[WIP] CI: Conda Compilers#3817
ax3l wants to merge 7 commits into
BLAST-WarpX:developmentfrom
ax3l:ci-conda-compilers

Conversation

@ax3l

@ax3l ax3l commented Apr 7, 2023

Copy link
Copy Markdown
Member

Add the conda compilers, since they are essential for development and packaging.

@ax3l ax3l added the component: tests CI/CD tests label Apr 7, 2023
Comment thread .github/workflows/dependencies/conda.sh Outdated
WeiqunZhang pushed a commit to AMReX-Codes/amrex that referenced this pull request Apr 7, 2023
## Summary

Remove the `restrict` qualifier from `GpuArray` members in
`ParticleTileData`. We see compilation problems with, among others Clang
14.0.6 and AppleClang, for this construct.

We expect that using `restrict` (`AMREX_RESTRICT`) on APIs as well as
aliased pointers in these arrays before access should be sufficient to
prevent that the compiler thinks that individual arrays alias each other
in hot loops.

## Additional background

- WarpX build regressions since 23.03, e.g.,
  - conda-forge/warpx-feedstock#63
  - conda-forge/warpx-feedstock#64
  - BLAST-WarpX/warpx#3817
- independently, about to be remove in
#2878
@ax3l ax3l force-pushed the ci-conda-compilers branch 6 times, most recently from a2b8f7f to f116beb Compare April 18, 2023 08:43
@ax3l ax3l force-pushed the ci-conda-compilers branch 2 times, most recently from 565100c to 6d00c7f Compare May 2, 2023 19:58
@ax3l ax3l force-pushed the ci-conda-compilers branch from 6d00c7f to 3b21e4b Compare May 8, 2023 16:50
guj pushed a commit to guj/amrex that referenced this pull request Jul 13, 2023
## Summary

Remove the `restrict` qualifier from `GpuArray` members in
`ParticleTileData`. We see compilation problems with, among others Clang
14.0.6 and AppleClang, for this construct.

We expect that using `restrict` (`AMREX_RESTRICT`) on APIs as well as
aliased pointers in these arrays before access should be sufficient to
prevent that the compiler thinks that individual arrays alias each other
in hot loops.

## Additional background

- WarpX build regressions since 23.03, e.g.,
  - conda-forge/warpx-feedstock#63
  - conda-forge/warpx-feedstock#64
  - BLAST-WarpX/warpx#3817
- independently, about to be remove in
AMReX-Codes#2878
@RemiLehe

Copy link
Copy Markdown
Member

@ax3l Should we close this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: tests CI/CD tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants