Failure during allocation - Intel Fortran 11.1.056 (Linux)

Failure during allocation - Intel Fortran 11.1.056 (Linux)


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.


2 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

Any (reproducer) code would be appreciated.

Are you allocating an array or pointer to array?

Is the context or object containing the array descriptor or pointer contained within the MPI rank of the issuing processor?
IOW are the acessors to your allocations contained within the MPI rank?

If you compile with OpenMP set to single (stubs) does the code work?

Jim Dempsey

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui