Re: [OMPI users] difference between OpenMPI - intel MPI mpi_waitall

2016-02-01 Thread Diego Avesani
Dear all, Dear Jeff S., DearJeff H., I had to set nMSG equal to 2. Now, the program works. Thansks, for you time and helps. Diego On 30 January 2016 at 00:11, Jeff Hammond wrote: > > > On Fri, Jan 29, 2016 at 2:45 AM, Diego Avesani > wrote: > >> Dear all, >> >> I have created a program i

Re: [OMPI users] difference between OpenMPI - intel MPI mpi_waitall

2016-01-29 Thread Jeff Hammond
On Fri, Jan 29, 2016 at 2:45 AM, Diego Avesani wrote: > Dear all, > > I have created a program in fortran and OpenMPI, I test it on my laptop > and it works. > I would like to use it on a cluster that has, unfortunately, intel MPI. > > You can install any open-source MPI implementation from user

Re: [OMPI users] difference between OpenMPI - intel MPI mpi_waitall

2016-01-29 Thread Jeff Squyres (jsquyres)
> On Jan 29, 2016, at 9:43 AM, Diego Avesani wrote: > > Dear all, > > I am really sorry for the time that you dedicated to me. > > this is what I found: > > REQUEST = MPI_REQUEST_NULL I'm not enough of a fortran expert to know -- does this assign MPI_REQUEST_NULL to every entry in the REQU

Re: [OMPI users] difference between OpenMPI - intel MPI mpi_waitall

2016-01-29 Thread Diego Avesani
Dear all, I am really sorry for the time that you dedicated to me. this is what I found: REQUEST = MPI_REQUEST_NULL !send data share with UP IF(MPIdata%rank.NE.0)THEN MsgLength = MPIdata%imaxN DO icount=1,MPIdata%imaxN iNode = MPIdata%nodeFromUp(icount) send_me

Re: [OMPI users] difference between OpenMPI - intel MPI mpi_waitall

2016-01-29 Thread Gilles Gouaillardet
Diego, First, you can double check the program you are running has been compiled from your sources. then you can run your program under a debugger, and browse the stack when it crashes. there could be a bug in intelmpi, that incorrectly translates 2 in Fortran to 3 in C... but as far as I am con

Re: [OMPI users] difference between OpenMPI - intel MPI mpi_waitall

2016-01-29 Thread Jeff Squyres (jsquyres)
On Jan 29, 2016, at 7:55 AM, Diego Avesani wrote: > > Dear all, Dear Jeff, Dear Gilles, > > I am sorry, porblably I am a stubborn. > > In all my code I have > > CALL MPI_WAITALL(2,REQUEST,send_status_list,MPIdata%iErr) > > how can it became "3"? I don't know. You'll need to check your code

Re: [OMPI users] difference between OpenMPI - intel MPI mpi_waitall

2016-01-29 Thread Diego Avesani
Dear all, Dear Jeff, Dear Gilles, I am sorry, porblably I am a stubborn. In all my code I have CALL MPI_WAITALL(2,REQUEST,send_status_list,MPIdata%iErr) how can it became "3"? the only thing that I can think is that MPI starts to allocate the vector from "0", while fortran starts from 1. Indee

Re: [OMPI users] difference between OpenMPI - intel MPI mpi_waitall

2016-01-29 Thread Jeff Squyres (jsquyres)
You must have an error elsewhere in your code; as Gilles pointed, the error message states that you are calling MPI_WAITALL with a first argument of 3: -- MPI_Waitall(271): MPI_Waitall(count=3, req_array=0x7445f0, status_array=0x744600) failed -- We can't really help you with problems w

Re: [OMPI users] difference between OpenMPI - intel MPI mpi_waitall

2016-01-29 Thread Diego Avesani
Dear all, Dear Gilles, I do not understand, I am sorry. I did a "grep" on my code and I find only "MPI_WAITALL(2", so I am not able to find the error. Thanks a lot Diego On 29 January 2016 at 11:58, Gilles Gouaillardet < gilles.gouaillar...@gmail.com> wrote: > Diego, > > your code snippet

Re: [OMPI users] difference between OpenMPI - intel MPI mpi_waitall

2016-01-29 Thread Gilles Gouaillardet
Diego, your code snippet does MPI_Waitall(2,...) but the error is about MPI_Waitall(3,...) Cheers, Gilles On Friday, January 29, 2016, Diego Avesani wrote: > Dear all, > > I have created a program in fortran and OpenMPI, I test it on my laptop > and it works. > I would like to use it on a clu