call MPI_Finalize ( ierr ) end --------------------
It does the first printing, but On mpi_barrier, It return error: rank 0 unable to connect to rank 1 using business card(33709,....)
mpi_barrier error, I have the sam eproblem with all subroutines: mpi_bcast, mpi_reduce,.... and all subroutines that need communication. But If I want it to print ranks, or each cpu do some operations on its own, It does. I have run this code with the same version of mpich on a pc with windows xp, cammunicating through ethernet with a laptop with windows vista. please help me out.