This is a hybrid MPI-OpenMP code being compiled with Intel Fortran 11.1.056. I'm getting runtime failure on an allocate statement when I run on 4 MPI ranks with 1 OpenMP thread per rank (when I run on 1 MPI rank it runs fine). Each rank is allocating the variable (size 121). I check to see if the array has been allocated just before allocation and also check for status. On all 4 ranks it has not been allocated (I know from the check if(.not.allocated(A)...). On 3 ranks it is able to allocate the array and return 0 for status but on the fourth (rank #3) it dies during the allocate statement, doesn't even get to the status check part.
I use these options to compile: ifort -O2 -check all -traceback -warn all -fstack-protector -assume protect_parens -c file.F
Any pointers would be appreciated.