I was trying to run this example<br><br><span style="font-style: italic; background-color: rgb(204, 204, 204);">#include &quot;mpi.h&quot;</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">
#include &lt;stdio.h&gt;</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">#define BUFSIZE 100000</span><br style="font-style: italic; background-color: rgb(204, 204, 204);">
<span style="font-style: italic; background-color: rgb(204, 204, 204);">int main(int argc, char *argv[])</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">
{</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; int i, myrank, numprocs;</span><br style="font-style: italic; background-color: rgb(204, 204, 204);">
<span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; </span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">
&nbsp;&nbsp;&nbsp; MPI_Status status;</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; MPI_Init(&amp;argc, &amp;argv);</span><br style="font-style: italic; background-color: rgb(204, 204, 204);">
<span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; MPI_Comm_rank(MPI_COMM_WORLD, &amp;myrank);</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">
&nbsp;&nbsp;&nbsp; MPI_Comm_size(MPI_COMM_WORLD, &amp;numprocs);</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; </span><br style="font-style: italic; background-color: rgb(204, 204, 204);">
<span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; double start, finish, tempo;</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">
&nbsp;&nbsp;&nbsp; MPI_Aint lb, extent;</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; MPI_Datatype etype, filetype, contig;</span>
<br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; MPI_Offset disp;</span><br style="font-style: italic; background-color: rgb(204, 204, 204);">
<span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; MPI_File fh;</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">
&nbsp;&nbsp;&nbsp; int buf[1000];</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; MPI_File_open(MPI_COMM_WORLD, &quot;data.dat&quot;,MPI_MODE_CREATE | MPI_MODE_RDWR, MPI_INFO_NULL, &amp;fh);
</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; MPI_Type_contiguous(2, MPI_INT, &amp;contig);</span><br style="font-style: italic; background-color: rgb(204, 204, 204);">
<span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; lb = 0;</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">
&nbsp;&nbsp;&nbsp; extent = 6 * sizeof(int);</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; MPI_Type_create_resized(contig, lb, extent, &amp;filetype);
</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; MPI_Type_commit(&amp;filetype);</span><br style="font-style: italic; background-color: rgb(204, 204, 204);">
<span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; disp = 5 * sizeof(int); /* assume displacement in this file view</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">
&nbsp;&nbsp;&nbsp; is of size equal to 5 integers */</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; etype = MPI_INT;</span><br style="font-style: italic; background-color: rgb(204, 204, 204);">
<span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; MPI_File_set_view(fh, disp, etype, filetype, &quot;native&quot;,MPI_INFO_NULL);</span><br style="font-style: italic; background-color: rgb(204, 204, 204);">
<span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; start=MPI_Wtime();</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">
&nbsp;&nbsp;&nbsp; MPI_File_write(fh, buf, 1000, MPI_INT, MPI_STATUS_IGNORE);</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; finish=MPI_Wtime();
</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; printf(&quot;\nResult : %f\n&quot;,finish-start);</span><br style="font-style: italic; background-color: rgb(204, 204, 204);">
<span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; MPI_File_close(&amp;fh);</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">
&nbsp;&nbsp;&nbsp; MPI_Finalize();</span><br style="font-style: italic; background-color: rgb(204, 204, 204);"><span style="font-style: italic; background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; return 1;</span><br style="font-style: italic; background-color: rgb(204, 204, 204);">
<span style="font-style: italic; background-color: rgb(204, 204, 204);">}</span><br><br>and it fails with this message&nbsp; below:<br><br>Error: Unsupported datatype passed to ADIOI_Count_contiguous_blocks<br>[cli_0]: aborting job:
<br>application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0<br>rank 0 in job 1&nbsp; luizmendes_34376&nbsp;&nbsp; caused collective abort of all ranks<br>&nbsp; exit status of rank 0: return code 1<br><br>what it could be?<br><br>thanks<br>
luiz mendes<br><br>