MPI_ERR_BUFFER when performing MPI I/O
问题 I am testing MPI I/O. subroutine save_vtk integer :: filetype, fh, unit integer(MPI_OFFSET_KIND) :: pos real(RP),allocatable :: buffer(:,:,:) integer :: ie if (master) then open(newunit=unit,file="out.vtk", & access='stream',status='replace',form="unformatted",action="write") ! write the header close(unit) end if call MPI_Barrier(mpi_comm,ie) call MPI_File_open(mpi_comm,"out.vtk", MPI_MODE_APPEND + MPI_MODE_WRONLY, MPI_INFO_NULL, fh, ie) call MPI_Type_create_subarray(3, int(ng), int(nxyz),