Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

running cesm1.2.0 on mac using mpich: Fatal error in MPI_Allgatherv

I'm trying to run cesm1.2.0 on Yosemite 10.10.5. I'm running SD-WACCM. Right now I can run the model with mpi-serial. But it is very slow. So I try to use mpi.I set  MPI_LIB_NAME:=mpi MPI_PATH:=/opt/local/I set NTASKS to 4 for all the components(ATM,LND,ICE,OCN,CPL,GLC,ROF and WAV)and after configure, env_mach_pes.xml file shows: 
I build the model and run the model with: mpirun -np 4 $EXEROOT/cesm.exe >&! cesm.log.$LIDThe model crashes and the cesm.log file shows:
Fatal error in MPI_Allgatherv: Invalid buffer pointer, error stack:MPI_Allgatherv(1122): MPI_Allgatherv(sbuf=0x7fc6b8e27900, scount=24, MPI_DOUBLE_PRECISION, rbuf=0x7fc6b8e27840, rcounts=0x7fc6b8e25920, displs=0x7fc6b8e25810, MPI_DOUBLE_PRECISION, comm=0x84000006) failedMPI_Allgatherv(1070): Buffers must not be aliasedFatal error in MPI_Allgatherv: Invalid buffer pointer, error stack:MPI_Allgatherv(1122): MPI_Allgatherv(sbuf=0x7fa2f1ccb140, scount=24, MPI_DOUBLE_PRECISION, rbuf=0x7fa2f1ccb140, rcounts=0x7fa301d01bb0, displs=0x7fa2f1ccaa30, MPI_DOUBLE_PRECISION, comm=0xc4000002) failed MPI_Allgatherv(1070): Buffers must not be aliased
Could anyone help me with this problem?
 
Top