Dear users,

While enabling clm with RegCM I got the following error. I guess that it is due to MPI but, I dont know to solve the problem.

Could anybody please help me fix this problem?

Fatal error in PMPI_Allgather: Invalid buffer pointer, error stack:
PMPI_Allgather(958): MPI_Allgather(sbuf=0xa6cfe48, scount=1, MPI_INTEGER, rbuf=0xa6cfe48, rcount=1, MPI_INTEGER, MPI_COMM_WORLD) failed
PMPI_Allgather(931): Buffers must not be aliased
Fatal error in PMPI_Allgather: Internal MPI error!, error stack:
PMPI_Allgather(958)......: MPI_Allgather(sbuf=0xa4b8f94, scount=1, MPI_INTEGER, rbuf=0xa4b8f90, rcount=1, MPI_INTEGER, MPI_COMM_WORLD) failed
MPIR_Allgather_impl(805).: 
MPIR_Allgather(766)......: 
MPIR_Allgather_intra(144): 
MPIR_Localcopy(357)......: memcpy arguments alias each other, dst=0xa4b8f94 src=0xa4b8f94 len=4

Thank you in advance,

Regards,

Kishore