MPI_File_open( comm, (char*)"/scratch/lib/libsimgrid.so.3.6.2", MPI_MODE_RDWR | MPI_MODE_CREATE | MPI_MODE_DELETE_ON_CLOSE, MPI_INFO_NULL, &fh );\r
MPI_Comm_size( comm, &size );\r
MPI_Comm_rank( comm, &rank );\r
- buf = (int *)malloc( 10+size * sizeof(int) );\r
+ buf = (int *)malloc( 10* sizeof(int) );\r
buf[0] = rank;\r
\r
/* Write to file */\r