Hardware is an SGI ice system.
FORTRAN code with MPI+OpenMP.
There are multiple OpenMP regions.
There seems to be a problem with just one of them. If this particular routine is not compiled with OpenMP it runs fine on one thread or multiple threads.
With this region compiled with OpenMP:
- Code works with OMP_NUM_THREADS set to 1
- Crashes when set to anything other than 1
The region that has trouble has the following setup:
- There is a loop that has been parallelized using OpenMP.
- In the loop (hence in the parallel region) there is a chain of calls.
I want to know the scope of some of the variables in one of those routines.
I was wondering if it is possible to get this information.
Also, can the tools such as inspector be used in this situation (MPI+OpenMP codes)?
Any ideas on troubleshooting this problem?
Thanks



