Page 1 of 1

init_acc in openacc.F uses wrong argument type

Posted: Tue Dec 07, 2021 1:49 pm
by kevinroy
Hi VASP team,

In openacc.f90 (subroutine INIT_ACC) the call to acc_init should have an argument that is an integer(acc_device_kind) where as in the code it is represented as just an inetger. If acc_device_kind is 4 then this is OK but some compilers have this set to 8.

Best Wishes,

Kevin.

Re: init_acc in openacc.F uses wrong argument type

Posted: Mon Feb 14, 2022 7:53 am
by ferenc_karsai
Thank you very much for pointing that out. We will adopt the necessary changes to that routine.

Re: init_acc in openacc.F uses wrong argument type

Posted: Tue Mar 01, 2022 5:59 am
by ferenc_karsai
I wanted to ask you one thing:
With which compiler did you encounter this problem?