See the code below. As expected, you DO get an error (though the error is ERR_INTERN, somewhat not informative). However, if you fist create() % destroy a windows, you DO NOT get any error. This is VERY strange, right? I understand this issue is going to be very low priority for you, but I'm wondering whether this is actually related to some deeper, nasty bug that can cause actual trouble in valid code.
#include <mpi.h> int main(int argc, char *argv[]) { MPI_Init(&argc, &argv); #if 0 { MPI_Win win; MPI_Win_create(MPI_BOTTOM,0,1,MPI_INFO_NULL,MPI_COMM_SELF,&win); MPI_Win_free(&win); } #endif { MPI_Datatype byte = MPI_BYTE; MPI_Type_free(&byte); } MPI_Finalize(); return 0; } -- Lisandro Dalcin --------------- CIMEC (INTEC/CONICET-UNL) Predio CONICET-Santa Fe Colectora RN 168 Km 472, Paraje El Pozo Tel: +54-342-4511594 (ext 1011) Tel/Fax: +54-342-4511169