Hi,
I have open-mpi installed with gcc and gfortran.
When I use "USE MPI" and compile the lines :
call MPI_BCAST(ncoll,1,MPI_INTEGER,master,MPI_COMM_WORLD,mpi_err)
call MPI_BCAST(boundary_cond,8,MPI_CHARACTER,master,MPI_COMM_WORLD,mpi_err)
The first lines compiles, for the second I get this:
call MPI_BCAST(boundary_cond,8,MPI_CHARACTER,master,MPI_COMM_WORLD,mpi_err)
1
Error: Generic subroutine 'mpi_bcast' at (1) is not an intrinsic subroutine
If I use include 'mpif.h', it compiles just fine.
The problem appears only when I am trying to send MPI_CHARACTER
variables types...
Any ideas?
Second topic:
I am using 3 processors
I am calling a series of MPI_SCATTER which work when I send messages of
5 ko to the other processors, fails at the second scatter if I sent
messages of ~10 ko, and fails at the first scatter for bigger messages.
The message is:
2 processes killed (possibly by Open MPI)
Could this be a problem of maximum allowed message size? Or of buffering
space?
Benoit Semelin.