Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] "An error occurred in MPI_Recv" with more than 2 CPU
From: vasilis (gkanis_at_[hidden])
Date: 2009-05-26 07:11:52

Dear openMpi users,

I am trying to develop a code that runs in parallel mode with openMPI (1.3.2
version). The code is written in Fortran 90, and I am running on a cluster

If I use 2 CPU the program runs fine, but for a larger number of CPUs I get the
following error:

[compute-2-6.local:18491] *** An error occurred in MPI_Recv
[compute-2-6.local:18491] *** on communicator MPI_COMM_WORLD
[compute-2-6.local:18491] *** MPI_ERR_TRUNCATE: message truncated
[compute-2-6.local:18491] *** MPI_ERRORS_ARE_FATAL (your MPI job will now

Here is the part of the code that this error refers to:
if( mumps_par%MYID .eq. 0 ) THEN
                do iw=1,total_elem_cpu*unique
                end do

                do jw=1,nsize-1
                        do iw=1,total_elem_cpu*unique
                        end do
                end do
  call MPI_Wait(request1, status1, ierr)
                call MPI_Wait(request2, status2, ierr)
                call MPI_Wait(request3, status3, ierr)
                call MPI_Wait(request4, status4, ierr)
        end if

I am also using the MUMPS library

Could someone help to track this error down. Is really annoying to use only
two processors.
The cluster has about 8 nodes and each has 4 dual core CPU. I tried to run the
code on a single node with more than 2 CPU but I got the same error!!

If you need more info to identify this error, I will be gladly to provide.

Thank you for your time.