Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Trapping fortran I/O errorsleavingzombiempiprocesses
From: Laurence Marks (L-marks_at_[hidden])
Date: 2010-02-06 22:24:49

The following code reproduces the problem for mpif90/ifort
11.1/openmpi-1.4.1. With an empty test.input (touch test.input) some
not reproducible number of zombies processes are created.

        include "mpif.h"
        call MPI_INIT(ierr)
        call MPI_COMM_RANK(MPI_COMM_WORLD, irank, ierr)
        open (unit=10,file='test.input')
20 write(6,*)irank,ii
1 format(i4)
        call MPI_FINALIZE(ierr)

N.B., if I deliberately create a format error for the read no zombies remain.

Laurence Marks
Department of Materials Science and Engineering
MSE Rm 2036 Cook Hall
2220 N Campus Drive
Northwestern University
Evanston, IL 60208, USA
Tel: (847) 491-3996 Fax: (847) 491-7820
email: L-marks at northwestern dot edu
Chair, Commission on Electron Crystallography of IUCR
Electron crystallography is the branch of science that uses electron
scattering and imaging to study the structure of matter.