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 Build Errors Windows Visual Studio 2022 (CUDA Enabled) - With Latest Development branch Pull #3972

Closed
ramsampath opened this issue Jun 3, 2024 · 3 comments

Comments

@ramsampath
Copy link

Hello,

I was wondering if someone could help out with the following errors during build using Visual Studio 2022 (With CUDA Enabled).

Error: static assertion failed with "PackComponents is expected to satisfy the concept DataPacking." amrex_3d on amrex\Src\Base\AMReX_NonLocalBC.H 605
Error static assertion failed with "ApplyDtosAndProjectionOnReciever<> is expected to satisfy the DataPacking concept." amrex_3d amrex\Src\Base\AMReX_NonLocalBC.H 666
....

and

Error C2244 'amrex::FabArray::array': unable to match function definition to an existing declaration amrex_3d
amrex\Src\Base\AMReX_FabArray.H 1552

Error C2244 'amrex::FabArray::const_array': unable to match function definition to an existing declaration amrex_3d
amrex\Src\Base\AMReX_FabArray.H 1584

...

there are many errors but with a similar error code.

Would be great if someone could give some pointers on how to fix these.

Thank you much.

Ram.

@WeiqunZhang
Copy link
Member

Unfortunately we don't have windows machines for testing. There is a PR trying to set up a GitHub Action for Windows + CUDA. But it still has some issues. It seems to have a different issue than what you have. @ramsampath maybe you can offer some help on #1585.

@ramsampath
Copy link
Author

Thank you Weiqun . I will try to figure this error and if this works can then try to help out with #1585

@asalmgren
Copy link
Member

@ramsampath - Closing this due to inactivity -- let us know if you still have questions!

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

No branches or pull requests

3 participants