On Wed, May 18, 2011 at 6:33 PM, Scott Hawley scott.hawley@belmont.edu wrote:
Ok. Still having problems. I defaulted everything to private and explicitly declared my shared's. Now what happens is that the outer "k" loop never gets incremented. Even if I run with only one thread, "k" always equals 1.
I believe that the I/O statements (the write statement) cannot be called from a parallel region. You need to enclose it in a critical statement or similar if you want to keep it. I would suggest instead to comment it out.
-erik