Help figuring out why acc parallel does not work

Somehow I had assumed that having the arguments in W3JS declared as INTENT(IN) should be enough.

Technically it should but we don’t keep the intent information in the module so the compiler doesn’t that the data is read-only. I’ve added an RFE (TPR#25525) to see if we can use this information in this case. For now, please use the “VALUE” attribute.

The output when compiling (pgf90 -ta=tesla:cc60,time,lineinfo -acc -Minfo=all,ccff -Mneginfo=all) is exactly the same in both cases (pgf90 18.3-0 64-bit target on x86-64 Linux -tp haswell). Is there any way for the compiler to give information about these type of things?

Sorry, but I’m not clear on what you’re asking. Can you please restate the question?

-Mat