Closed
Description
Hello there,
I would like to use Smilei with GPU on Karolina cluster at IT4I in Ostrava and I am not sure how to compile it. So, I asked the administrator to help me with it, but he encoutered the following problem - GPU compilation for A100 fails with:
src/Diagnostic/DiagnosticScalar.cpp(802): error: expected a ";"
maxval = fieldval;
^
src/Diagnostic/DiagnosticScalar.cpp(803): error #547: nonstandard form for taking the address of a member function
ATOMIC(write)
^
src/Diagnostic/DiagnosticScalar.cpp(804): error: expected a ";"
i_max=i;
^
src/Diagnostic/DiagnosticScalar.cpp(805): error #547: nonstandard form for taking the address of a member function
ATOMIC(write)
^
src/Diagnostic/DiagnosticScalar.cpp(806): error: expected a ";"
j_max=j;
^
src/Diagnostic/DiagnosticScalar.cpp(807): error #547: nonstandard form for taking the address of a member function
ATOMIC(write)
^
src/Diagnostic/DiagnosticScalar.cpp(808): error: expected a ";"
k_max=k;
I will share this issue with the administrator, since I don't know any details of his procedure. Could you please help us find the problem? Note, that there were no problems with the CPU compilation.