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

RealVect Static: Export #3589

Merged

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Oct 8, 2023

Summary

Export global symbols for Windows.

Seen in WarpX on conda-forge:

lld-link: warning: ignoring unknown argument '-lpthreads'
lld-link: error: undefined symbol: public: static class amrex::RealVect const amrex::RealVect::Zero
>>> referenced by libwarpx.rz.NOMPI.OMP.DP.PDP.OPMD.PSATD.QED.lib(SpectralKSpaceRZ.cpp.obj):(public: __cdecl SpectralKSpaceRZ::SpectralKSpaceRZ(class amrex::BoxArray const &, class amrex::DistributionMapping const &, class amrex::RealVect))

Additional background

conda-forge/warpx-feedstock#72

Checklist

The proposed changes:

  • 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

Export global symbols for Windows.

Seen in WarpX on conda-forge:
```
lld-link: warning: ignoring unknown argument '-lpthreads'
lld-link: error: undefined symbol: public: static class amrex::RealVect const amrex::RealVect::Zero
>>> referenced by libwarpx.rz.NOMPI.OMP.DP.PDP.OPMD.PSATD.QED.lib(SpectralKSpaceRZ.cpp.obj):(public: __cdecl SpectralKSpaceRZ::SpectralKSpaceRZ(class amrex::BoxArray const &, class amrex::DistributionMapping const &, class amrex::RealVect))
```
@ax3l ax3l added the bug label Oct 8, 2023
@ax3l ax3l requested a review from WeiqunZhang October 8, 2023 18:56
@WeiqunZhang WeiqunZhang enabled auto-merge (squash) October 9, 2023 17:21
@WeiqunZhang WeiqunZhang merged commit 77d4d1f into AMReX-Codes:development Oct 9, 2023
69 checks passed
@ax3l ax3l deleted the fix-realvect-static-export branch October 28, 2023 06:06
ax3l added a commit to ax3l/amrex-feedstock that referenced this pull request Oct 28, 2023
guj pushed a commit to guj/amrex that referenced this pull request Dec 13, 2023
## Summary

Export global symbols for Windows.

Seen in WarpX on conda-forge:
```
lld-link: warning: ignoring unknown argument '-lpthreads'
lld-link: error: undefined symbol: public: static class amrex::RealVect const amrex::RealVect::Zero
>>> referenced by libwarpx.rz.NOMPI.OMP.DP.PDP.OPMD.PSATD.QED.lib(SpectralKSpaceRZ.cpp.obj):(public: __cdecl SpectralKSpaceRZ::SpectralKSpaceRZ(class amrex::BoxArray const &, class amrex::DistributionMapping const &, class amrex::RealVect))
```

## Additional background

conda-forge/warpx-feedstock#72

## 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants