Hi, Recently I installed OpenMPI 1.1.4 using the source RPM on Fedora Core 6. then I tried to run some benchmarks from NASA. First I tried is some I/O benchmarks, It compiles, but when I run it, it generates the following error:
[abc:25584] *** An error occurred in MPI_Type_create_subarray [abc:25583] *** on communicator MPI_COMM_WORLD [abc:25583] *** MPI_ERR_TYPE: invalid datatype [abc:25583] *** MPI_ERRORS_ARE_FATAL (goodbye) Then I find all the references to the MPI_Type_create_subarray and create a little program just to test that part of the code, the code I created is: #include "mpi.h" int main(int argc, char *argv[]) { MPI_Datatype subarray, type; int array_size[] = {9}; int array_subsize[] = {3}; int array_start[] = {1}; int i, err; MPI_Init(&argc, &argv); /* Create a new type */ MPI_Type_contiguous(5, MPI_INT, &type); MPI_Type_commit(&type); /* Create a subarray datatype */ MPI_Type_create_subarray(1, array_size, array_subsize, array_start, MPI_ORDER_C, type, &subarray); MPI_Type_commit(&subarray); MPI_Finalize(); return 0; } After running this little program using mpirun, it raises the same error. Thanks in advance, Ivan