Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
29307 Discussions

parallelized loop with openmp doesn't work when pasted in a large program

gvicente
Beginner
441 Views
I am a new user of openmp. My objective is parallelizing a inner loop in a big program written in Fortran to use it in a multiprocessor server. As a first step and a test, i have parallelized a small double loop and all's OK.

But when i have pasted this lines of code in the subroutine that i want to parallelize, there is a "segmentation fault" error.

How can the code outside the parallelized loop influence in the parallelization process?

Of course there are large arrays in my program. But...what's wrong? I don't understand.
0 Kudos
0 Replies
Reply