<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi,
<div> I am a new user of the Flash Benchmark I/O code. I have been trying to generate HDF5 checkpoints from the benchmark application. I can compile successfully with parallel HDF5 library but it fails when I try to run the code.</div>
<div><br>
</div>
<div>This is my output from the compilation step:</div>
<div>
<div>/usr/local/tools/mvapich2-gnu-1.9/bin/mpif90 -c -DN_DIM=3 -DMAXBLOCKS=100 -DIONMAX=13 get_mfluid_property.F90</div>
<div>/usr/local/tools/mvapich2-gnu-1.9/bin/mpif90 -c -DN_DIM=3 -DMAXBLOCKS=100 -DIONMAX=13 flash_release.f</div>
<div>/usr/local/tools/mvapich2-gnu-1.9/bin/mpif90 -c -DN_DIM=3 -DMAXBLOCKS=100 -DIONMAX=13 flash_benchmark_io.F90</div>
<div>/usr/local/tools/mvapich2-gnu-1.9/bin/mpif90 -c -DN_DIM=3 -DMAXBLOCKS=100 -DIONMAX=13 checkpoint_hdf5_parallel.F90</div>
<div>/usr/local/tools/mvapich2-gnu-1.9/bin/mpif90 -c -DN_DIM=3 -DMAXBLOCKS=100 -DIONMAX=13 plotfile_hdf5_parallel.F90</div>
<div>/usr/local/tools/mvapich2-gnu-1.9/bin/mpicc -c -I /usr/local/tools/hdf5-gnu-parallel-1.8.10/include -DTFLOPS -DN_DIM=3 -DH5_USE_16_API h5_file_interface.c</div>
<div>/usr/local/tools/mvapich2-gnu-1.9/bin/mpicc -c -I /usr/local/tools/hdf5-gnu-parallel-1.8.10/include -DTFLOPS -DN_DIM=3 -DH5_USE_16_API h5_parallel_write.c</div>
<div>/usr/local/tools/mvapich2-gnu-1.9/bin/mpicc -c -I /usr/local/tools/hdf5-gnu-parallel-1.8.10/include -DTFLOPS -DN_DIM=3 -DH5_USE_16_API h5_parallel_write_single.c</div>
<div>/usr/local/tools/mvapich2-gnu-1.9/bin/mpif90 -o flash_benchmark_io get_mfluid_property.o flash_release.o flash_benchmark_io.o checkpoint_hdf5_parallel.o plotfile_hdf5_parallel.o h5_file_interface.o h5_parallel_write.o h5_parallel_write_single.o -L /usr/local/tools/hdf5-gnu-parallel-1.8.10/lib
-lhdf5 -L/usr/lib -lz</div>
</div>
<div><br>
</div>
<div>I get the following error message when I try to run the benchmark:</div>
<div><br>
</div>
<div>
<div>bash-4.1$ srun -N 4 -n 4 ./flash_benchmark_io ####### Running the code</div>
<div><br>
</div>
<div>Fatal error in PMPI_Bcast: Invalid datatype, error stack:</div>
<div>PMPI_Bcast(1549): MPI_Bcast(buf=0x7fffffffc890, count=8, <font color="#ff4013">
INVALID DATATYPE</font>, root=0, comm=0x84000001) failed</div>
<div>PMPI_Bcast(1501): Invalid datatype</div>
<div>Fatal error in PMPI_Bcast: Invalid datatype, error stack:</div>
<div>PMPI_Bcast(1549): MPI_Bcast(buf=0x7fffffffc890, count=8, INVALID DATATYPE, root=0, comm=0x84000001) failed</div>
<div>PMPI_Bcast(1501): Invalid datatype</div>
<div>Fatal error in PMPI_Bcast: Invalid datatype, error stack:</div>
<div>PMPI_Bcast(1549): MPI_Bcast(buf=0x7fffffffc890, count=8, INVALID DATATYPE, root=0, comm=0x84000001) failed</div>
<div>PMPI_Bcast(1501): Invalid datatype</div>
<div>Fatal error in PMPI_Bcast: Invalid datatype, error stack:</div>
<div>PMPI_Bcast(1549): MPI_Bcast(buf=0x7fffffffc890, count=8, INVALID DATATYPE, root=0, comm=0x84000001) failed</div>
<div>PMPI_Bcast(1501): Invalid datatype</div>
<div> HDF 5 v 1.4 test on Blue Pacific</div>
<div> 4 processors</div>
<div> nxb, nyb, nzb = 16 16 16</div>
<div> nguard = 4</div>
<div> number of blocks = 80</div>
<div> nvar = 24</div>
<div> </div>
<div> doing HDF 5 parallel I/O to a single file</div>
<div>srun: error: sierra27: task 3: Exited with exit code 1</div>
<div><br>
</div>
</div>
<div>I am not sure if I have to supply anything via compilation flag to specify the datatype. Any idea?</div>
<div><br>
</div>
<div>Will appreciate any answer.</div>
<div><br>
</div>
<div>Regards,</div>
<div>--Tanzima</div>
</body>
</html>