[OMPI devel] Bug with MPI_TYPE_CREATE_STRUCT, MPI_BOTTOM and MPI_BCAST in fortran

2007-06-12 Thread Daniel Spångberg
ch)!=MPI_SUCCESS) fprintf(stderr,"MPI_Type_Commit failed.\n"); if (rank==0) param=100.; if (MPI_Bcast(MPI_BOTTOM,1,param_batch,0,MPI_COMM_WORLD)!=MPI_SUCCESS) fprintf(stderr,"MPI_Bcast failed.\n"); printf("Rank:%d, Size:%d, Param=%f\n",rank,size,param); MPI_Finalize(); return 0; } Best regards Daniel Spångberg

Re: [OMPI devel] Bug with MPI_TYPE_CREATE_STRUCT, MPI_BOTTOM and MPI_BCAST in fortran

2007-06-13 Thread Daniel Spångberg
Dear Rainer, Thanks for your (and George's) very quick answer and the fast solution! The patch works great. Best regards Daniel Spångberg On Wed, 13 Jun 2007 01:38:26 +0200, Rainer Keller wrote: Dear Daniel, well, this definitly would be an issue for the us...@open-mpi.org list.