marekandreas / elpa

A scalable eigensolver for dense, symmetric (hermitian) matrices (fork of https://gitlab.mpcdf.mpg.de/elpa/elpa.git)
Other
25 stars 11 forks source link

elpa-2022.11.001 compilation error #31

Closed toxa81 closed 1 year ago

toxa81 commented 1 year ago

Dear @marekandreas ! We observe a problem in compilation of recent elpa with CUDA:

test/C/test.c:171:10: fatal error: ../shared/GPU/test_gpu_vendor_agnostic_la
              yerVariables.h: No such file or directory
     13778      171 | #include "../shared/GPU/test_gpu_vendor_agnostic_layerVariables.h"
     13779          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     13780    compilation terminated.
  >> 13781    make[1]: *** [Makefile:79038: test/C/validate_c_version_complex_double_eigenvalues_1stage_gpu_analytic_explicit-test.o] Error 1

We use spack to compile elpa. The spec is simply "elpa%gcc +cuda cuda_arch=80"

marekandreas commented 1 year ago

Dear @toxa81,

I am sorry, indeed this file has not been packaged into the tarball automatically. I have created a new release tarball, including this file. Now, everything should work as expected.

RMeli commented 1 year ago

Hello. Unfortunately it looks like in the 2022.11.001 tarball, the file test_gpu_vendor_agnostic_layerVariables.h ended up in test/shared/ instead of test/shared/GPU.

marekandreas commented 1 year ago

Hello, oh my bad. Has been fixed.

RMeli commented 1 year ago

Thanks for the quick reply @marekandreas. I just tried to download the elpa-2022.11.001.tar.gz tarball from https://elpa.mpcdf.mpg.de/software/tarball-archive/Releases/2022.11.001/, but it seems to still be affected by the issue. The SHA256 hash also appears to be the same of the one I downloaded yesterday.

Do I need to wait some time before re-trying? FYI, the link above is the one the Spack package uses for download.

marekandreas commented 1 year ago

It takes some time, until the changes are pushed to the webserver. Should have happend by now

RMeli commented 1 year ago

That's what I suspected, it works now. Thank you for the quick fix!