amrex icon indicating copy to clipboard operation
amrex copied to clipboard

AMReX Build Errors Windows Visual Studio 2022 (CUDA Enabled) - With Latest Development branch Pull

Open ramsampath opened this issue 8 months ago • 2 comments

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<FAB>::array': unable to match function definition to an existing declaration amrex_3d amrex\Src\Base\AMReX_FabArray.H 1552

Error C2244 'amrex::FabArray<FAB>::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.

ramsampath avatar Jun 03 '24 17:06 ramsampath