I wish to compile with nvfortran22.2 a function A() in which the fortran date_and_time intrinsic function is called.
The function A() calling the date-and-time function is called inside an OpenACC parallel region and is thus equiped with the !$ACC ROUTINE clause (as requested by the compiler).
When the !$ACC ROUTINE line is inserted in A() function, the nvhpc22.2 compiler issues an error as:
NVFORTRAN-S-1058-Call to PGI runtime function not supported - pghpf_dandta_i8
(I guess dandta means date and time)
date_and_time seems to be tolerated by the nvfortran outside acc parallel regions (in other parts of the code using date_and_time), not inside acc parallel regions.
Is there a trick to overcome this?