| View previous topic :: View next topic |
| Author |
Message |
Dennis Jespersen
Joined: 10 May 2012 Posts: 3
|
Posted: Fri May 18, 2012 1:41 pm Post subject: Possible compiler bug with OpenMP and COLLAPSE directive |
|
|
I believe I have run across a bug in the PGI Fortran compiler involving OpenMP and the COLLAPSE directive. The latest pgfortran I have access to is 12.4, and it fails for me. I have packaged up a test case illustrating the problem; it's a little too long to post here but can be obtained via
"wget http://people.nas.nasa.gov/jesperse/ssortest.tar.gz"
if you're interested. That file (3 KB) has a README, Makefile, and source code. If you want the file but have trouble getting it, e-mail me and I can probably sent it to you.
I had an OpenMP guru here look at the example, and he thinks it's OK. Also, the GNU Fortran and Intel Fortran compilers don't have any problem with it. |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4995 Location: The Portland Group Inc.
|
Posted: Fri May 18, 2012 3:31 pm Post subject: |
|
|
Thanks Dennis,
I was able to recreate the issue here and have sent a report to our engineers (TPR#18707) for further investigation. As you note in your Makefile, the test is successful without optimization.
Best Regards,
Mat |
|
| Back to top |
|
 |
jtull
Joined: 30 Jun 2004 Posts: 233
|
Posted: Tue May 21, 2013 5:35 pm Post subject: TPR 18707 is fixed in 13.1 |
|
|
Dennis,
TPR 18707 - User code gets wrong answers with OpenMP COLLAPSE
was fixed as of the 13.1 release.
Thanks for the report.
dave |
|
| Back to top |
|
 |
|