Building SPECFEM3D with GPU support on Ada Lovelace architecture #1831
Replies: 2 comments
-
|
the step with changing the to and then run the configuration with it looks like the Ada Lovelace architecture was primarily for gaming, while Grace Hopper adopted more by HPC centers. anyway, it's difficult to debug without an actual card. maybe you can add more error output to see how the actual compilation line looks like in your case. and double-check with the details of your GPU card to see which CUDA SM version it should support. there's also a small utility program in it already helps to see if that compiles or not. |
Beta Was this translation helpful? Give feedback.
-
|
Dear Daniel, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear SPECFEM community,
I am trying to build SPECFEM3D on an Ada Lovelace GPU.
I've seen several "Using the GPU version of the code" sections in manuals for various SPECFEM codes, so I go like
./configure --with-cuda=cuda12,but I get
Error in setConst_hprime_xx: invalid device symbol The problem is maybe that the architecture specified in the Makefile (-gencode=arch=compute_**,code="sm_**,compute_**") doesn't fit your card, please doublecheckI examined Makefile to see the "gencode=..." section, but even after I change 90 to 89 (which should supposedly work for Ada Lovelace), the error still stays.
Since I see no mentions of Ada Lovelace (after Ampere just goes Hopper) in the "Using the GPU version of the code" sections, perhaps there are some inherent problems with running SPECFEM there? Or is there any experience?
I would greatly appreciate any guidance.
Sincerely,
Denis
Beta Was this translation helpful? Give feedback.
All reactions