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

Windows + CUDA #3862

Open
ax3l opened this issue Mar 29, 2024 · 1 comment
Open

Windows + CUDA #3862

ax3l opened this issue Mar 29, 2024 · 1 comment

Comments

@ax3l
Copy link
Member

ax3l commented Mar 29, 2024

We need to document and test how to build AMReX on Windows with GPU (CUDA) support. Downstream, we have users for ImpactX/HiPACE++/WarpX actively asking for this feature.

So far, @robertmaynard @sayerhs @mic84 and me gave this a stab in #1585. But we could not yet find a working CI configuration.

@pkufourier
Copy link

I suggest you to use WSL under Windows, and build AMReX+CUDA like what exactly is done under Linux system. This is what I am doing right now. The efficiency of WSL is good (like original Linux). The only difference is the cuda installation under WSL is a little difference from the original Linux system, see the guides on nvidia websites. Meanwhile, the unified memory feather can not be used under WSL, therefore you should set "amrex.the_arena_is_managed=0" to ensure the program can run correctly.

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

No branches or pull requests

2 participants