Re: [OMPI users] Can't read values with MPI-IO

2010-01-13 Thread Luís Miranda
r a posição no ficheiro > | MPI_File_get_position(fh, &myCurrentOffset); > | printf ("[%d] - My current offset is %lld\n", rank, myCurrentOffset); > | MPI_Barrier(MPI_COMM_WORLD); > | > | //READ FILE > | //leitura do ficheiro > | int readBuffer=0; > | // MPI_Status

[OMPI users] Can't read values with MPI-IO

2010-01-13 Thread Luís Miranda
_STATUS_IGNORE); MPI_Barrier(MPI_COMM_WORLD); printf("[%d] - Leu do ficheiro o valor '%d'\n", rank, readBuffer ); MPI_Barrier(MPI_COMM_WORLD); //CLOSE FILE // fecho do ficheiro MPI_File_close(&fh); MPI_File_delete("buffer.io", MPI_INFO_NULL ); //end program MPI_Finalize(); return(0); } -- Cumprimentos Luís Miranda

[OMPI users] How to install openmpi to suport thread_level_multiple?

2009-11-24 Thread Luís Miranda
How to install openmpi to suport thread_level_multiple?