Hello, everybody...totally new at OpenMP, here...started yesterday morning.
So, surfed various threads, on-line tutorials and very official documentation...can't remember where, but even in some very official-looking PDF document on OpenMP, the author mentioned the certainty of getting a segmentation fault error at the end of the program if something, something, something...something about the arrays being move to the stack...
Now, I am no computer scientist and don't know about programs innerworkings at the system, OS, or whatever level...does somebody know what I am talking about? and can somebody explain in plain English what the problem could be? and for as long as the certainty of the seg fault is known, I would hope that the solution to that problem is also well known?
As it is, I have medium size Fortran 90 program with several modules and a bunch of allocatable arrays...decided to parallelize the program and get "segmentation fault" on exit.
thanks in advance for any hints and great thanks for the actually solution
Oh, I forgot to mentioned that I did try "ulimit -s unlimited" and setting "OMP_STACKSIZE" and "GOMP_STACKSIZE" to various quantities (as much as 1G), but the seg fault continued to appear.