Hello, I am trying to add some code for reading some data in cime_comp_mod.F90 referring to the code of cpl reading restart file. But when I add the following line in the code,
Thank you very much for answering this question!
call seq_comm_getinfo(CPLID, mpicom=mpicom_CPLID)
the program will report a error:call shr_mpi_bcast(exists,mpicom_CPLID,'seq_io_read_avs exists')
I have ensured that the parameters passed into the shr_mpi_bcast are consistent with the same statement in seq_io_mod.F90.Abort(201924613) on node 1229 (rank 1229 in comm 0): Fatal error in PMPI_Bcast: Invalid communicator, error stack:
PMPI_Bcast(451): MPI_Bcast(buf=0x7ffcfe2ecef4, count=1, MPI_INTEGER, root=0, comm=MPI_COMM_NULL) failed
PMPI_Bcast(390): Null communicator
Thank you very much for answering this question!