Commit 8928bf45 authored by Pavel Kus's avatar Pavel Kus

added default value of kernel to legacy C test

the test failed, since THIS_REAL_ELPA_KERNEL_API has not been specified
as it is in other simmilar tests. This fixed the issue, but probably the
behavior of elpa_solve_evp_real_double should be changed not to check
value of THIS_REAL_ELPA_KERNEL_API for 1stage test
parent 20c922e0
......@@ -189,8 +189,9 @@ int main(int argc, char** argv) {
#endif
useQr = 0;
useGPU = 0;
THIS_REAL_ELPA_KERNEL_API = ELPA_2STAGE_REAL_DEFAULT;
success = elpa_solve_evp_real_double(na, nev, a, na_rows, ev, z, na_rows, nblk, na_cols, mpi_comm_rows, mpi_comm_cols, my_mpi_comm_world, -1, useQr, useGPU, "1stage");
success = elpa_solve_evp_real_double(na, nev, a, na_rows, ev, z, na_rows, nblk, na_cols, mpi_comm_rows, mpi_comm_cols, my_mpi_comm_world, ELPA_2STAGE_REAL_DEFAULT, useQr, useGPU, "1stage");
if (success != 1) {
printf("error in ELPA solve \n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment