Code gets wrong answers in 19.x worked in 18.x

Questions on using the PGI Compilers and Tools
Post Reply
sumseq
Posts: 141
Joined: Nov 27 2012

Code gets wrong answers in 19.x worked in 18.x

Post by sumseq » Wed Nov 06, 2019 6:04 pm

Hi,

This post is for a record of a current OpenMP bug that I have discussed through direct e-mail.
I thought it would be a good idea to have it on the forum in case anyone else has the same issue and to keep an update on it.

My OpenMP code gets very wrong answers when I use any PGI 19.x compiler, but it works correctly with 18.x compilers.

A workaround for the issue is to use:

Code: Select all

-mp=nvomp
when compiling the code.

With this flag, the code works correctly again.

I have sent a reproducer to PGI (Mat).

I have tested the new 19.10 version and this issue is still there.
I have been told nvomp will be the default in the 20-series versions but as for now this bug still exists and we have to use the nvomp flag.

- Ron

Post Reply