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

Couldn't determine CPU architecture, you need to set 'kokkos_arch' manually #21158

Open
hezhiqiang8909 opened this issue Aug 9, 2024 · 1 comment

Comments

@hezhiqiang8909
Copy link

When I install LAMMPS-2Aug2023_update2-foss-2023a-kokkos-CUDA-12.1.1.eb, it prompts an error that the CPU architecture cannot be determined and "kokkos_arch" needs to be set manually. How should I set the parameters? I tried to set configopts = '--kokkos-arch=SKX' in the .eb file, but it doesn't seem to work.
image

@Thyre
Copy link
Contributor

Thyre commented Sep 17, 2024

Looking at the EasyBlock, there is an option to set the Kokkos architecture:

https://github.com/easybuilders/easybuild-easyblocks/blob/1ca6dc32f89842d33bd6599d1ca0e795c12fbf75/easybuild/easyblocks/l/lammps.py#L222

'kokkos_arch': [None, "Set kokkos processor arch manually, if auto-detection doesn't work.", CUSTOM],

Since the error message is produced by the EasyBlock, setting --kokkos-arch=[x] will probably not work.

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

2 participants