[mvapich-discuss] ifort 11.0.069 mvapich-1.1 weird conflict

Noam Bernstein noam.bernstein at nrl.navy.mil
Mon Nov 24 09:54:17 EST 2008


I'm seeing a very strange problem, that I have no idea how to debug in
the following simple FORTRAN 90 program:

program test
implicit none
include 'mpif.h'

logical iop
integer stat

call mpi_init(stat)

open(unit=7,file="bulk.Cr.xyz",form="formatted",status="OLD",  
iostat=stat)
print *, stat
close(unit=7)

inquire(7,opened=iop)
print *, iop
open(unit=7,file="bulk.Cr.xyz",form="formatted",status="OLD",  
iostat=stat)
print *, stat

call mpi_finalize(stat)

end program

I've compiled mvapich-1.1 with Intel 10.1.018.

When I compile the program with Intel ifort 10.1.018, it works fine  
(i.e. both
opens return stat=0).  When I compile the program with ifort 11.0.069,  
the
second ifort fails with status 40, which is recursive I/O (I/O  
statment executed
from inside another I/O statement).  I'd blame Intel first, of course,  
but this
only happens when I use MPI.  If I strip out the MPI things, the  
program works
fine.

Any ideas how to proceed?

												thanks,
												Noam


More information about the mvapich-discuss mailing list