init_acc in openacc.F uses wrong argument type

Problems running VASP: crashes, internal errors, "wrong" results.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
kevinroy
Newbie
Newbie
Posts: 1
Joined: Tue Jan 26, 2021 5:53 pm

init_acc in openacc.F uses wrong argument type

#1 Post by kevinroy » Tue Dec 07, 2021 1:49 pm

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.

ferenc_karsai
Global Moderator
Global Moderator
Posts: 460
Joined: Mon Nov 04, 2019 12:44 pm

Re: init_acc in openacc.F uses wrong argument type

#2 Post by ferenc_karsai » Mon Feb 14, 2022 7:53 am

Thank you very much for pointing that out. We will adopt the necessary changes to that routine.

ferenc_karsai
Global Moderator
Global Moderator
Posts: 460
Joined: Mon Nov 04, 2019 12:44 pm

Re: init_acc in openacc.F uses wrong argument type

#3 Post by ferenc_karsai » Tue Mar 01, 2022 5:59 am

I wanted to ask you one thing:
With which compiler did you encounter this problem?

Post Reply