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

Compatibility of HOOMD with the newest ROCm #1101

Closed
niktre opened this issue Aug 17, 2021 · 4 comments · Fixed by #1346
Closed

Compatibility of HOOMD with the newest ROCm #1101

niktre opened this issue Aug 17, 2021 · 4 comments · Fixed by #1346
Labels
bug Something isn't working essential Work that must be completed.

Comments

@niktre
Copy link

niktre commented Aug 17, 2021

Hi! Is there any information that HOOMD v3.0.0 beta 8 supports ROCm 4.3.0? The requirement here says ROCm >= 3.5.0 but is it up-to-date?

While building HOOMD I get a lot of errors like:
error: no matching function for call to ‘hip_impl::Scalar_accessor<double, double [4], 0>::Scalar_accessor(int)’
that are similar (or maybe even the same) as @jglaser pointed to here: ROCm/HIP#1675

@niktre niktre added the bug Something isn't working label Aug 17, 2021
@b-butler
Copy link
Member

b-butler commented Aug 17, 2021

@niktre, all of the HOOMD developers besides @jglaser do not have access to AMD GPU systems, and HOOMD is not tested with AMD for that reason as well. @jglaser is your best bet to get something working. If ROCm >= 4.3.0 is not working, we can modify the support claim.

@Dann239
Copy link

Dann239 commented Nov 30, 2021

I've encountered the same problem, HOOMD doesn't properly compile on our system as well. I've made some small workaround tweaks to the code to make it compile on our system. If you're interested, you can check it out here. Though it still doesn't work with HPMC and i can't really guarantee that changes i've made aren't breaking :)
Anyway, i hope you find it useful

@joaander
Copy link
Member

Feel free to submit a pull request even it if only partially improves support for AMD GPUs. Our situations hasn't changed, the core HOOMD-blue developers currently have no access to any AMD GPU systems so we need to rely on community support to keep it functioning.

@vvsteg
Copy link

vvsteg commented Dec 27, 2021

@niktre , could you please make a try with the fork of v3.0.0-beta.12 made by @Dann239 ?

This fork works on our MI50 equipped cluster under ROCm 3.7. Unfortunately, it is not easy for us at the moment to upgrade ROCm to the newest version.

git clone -b hip-workaround --recursive https://github.com/Dann239/hoomd-blue.git

cd hoomd-blue; mkdir build; cd build

export HCC_AMDGPU_TARGET=gfx906

export HIP_PLATFORM=hcc

cmake -DENABLE_MPI=on -DENABLE_GPU=on -DENABLE_MPI_CUDA=on -DCMAKE_CUDA_COMPILER=hipcc -DBUILD_HPMC=off -DBUILD_TESTING=off ..

make -j6

make install

@joaander joaander added the essential Work that must be completed. label Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working essential Work that must be completed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants