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.
init_acc in openacc.F uses wrong argument type
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 1
- Joined: Tue Jan 26, 2021 5:53 pm
-
- Global Moderator
- Posts: 460
- Joined: Mon Nov 04, 2019 12:44 pm
Re: init_acc in openacc.F uses wrong argument type
Thank you very much for pointing that out. We will adopt the necessary changes to that routine.
-
- Global Moderator
- Posts: 460
- Joined: Mon Nov 04, 2019 12:44 pm
Re: init_acc in openacc.F uses wrong argument type
I wanted to ask you one thing:
With which compiler did you encounter this problem?
With which compiler did you encounter this problem?