potmomus@gmail_com
New Member
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?
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?