Hi,
While running the CTSM, the model setup and built has been successful. But when I executing the cesm.exe, it shows a error in pioc_support.c at line 2832. I have tried to recompile the parallelio with intel MPI, but the error was shown again. I don't know how to deal with it. I have attached the log file and the code of pioc_support.c at line 2832.
log file:
Abort with message Unknown error in file operation in file ../CTSM/ctsm_MYBRANCH/libraries/parallelio/src/clib/pioc_support.c at line 2832
Abort with message Unknown error in file operation in file ../CTSM/ctsm_MYBRANCH/libraries/parallelio/src/clib/pioc_support.c at line 2832
../CTSM/scratch/mycase72/bld/cesm.exe() [0x1139909]
../CTSM/scratch/mycase72/bld/cesm.exe() [0x1137890]
../CTSM/scratch/mycase72/bld/cesm.exe() [0x113781c]
../CTSM/scratch/mycase72/bld/cesm.exe() [0x1138232]
../CTSM/scratch/mycase72/bld/cesm.exe(PIOc_openfile+0x16) [0x1133436]
../CTSM/scratch/mycase72/bld/cesm.exe() [0x10f16b1]
../CTSM/scratch/mycase72/bld/cesm.exe() [0xf4ccc0]
../CTSM/scratch/mycase72/bld/cesm.exe() [0xf4b68b]
../CTSM/scratch/mycase72/bld/cesm.exe() [0xf3b6fe]
../CTSM/scratch/mycase72/bld/cesm.exe() [0xf35f78]
Abort(-1) on node 0 (rank 0 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, -1) - process 0
pioc_support.c:
/* Broadcast and check the return code. */
if (ios->ioroot == ios->union_rank)
PLOG((2, "Bcasting error code ierr %d ios->ioroot %d ios->my_comm %d",
ierr, ios->ioroot, ios->my_comm));
if ((mpierr = MPI_Bcast(&ierr, 1, MPI_INT, ios->ioroot, ios->my_comm)))
return check_mpi(NULL, file, mpierr, __FILE__, __LINE__);
PLOG((2, "Bcast openfile_retry error code ierr = %d", ierr));
/* If there was an error, free allocated memory and deal with the error. */
if (ierr)
{
free(file);
2832 return check_netcdf2(ios, NULL, ierr, __FILE__, __LINE__);
}
/* Broadcast writability to all tasks. */
if ((mpierr = MPI_Bcast(&file->writable, 1, MPI_INT, ios->ioroot, ios->my_comm)))
return check_mpi(NULL, file, mpierr, __FILE__, __LINE__);
While running the CTSM, the model setup and built has been successful. But when I executing the cesm.exe, it shows a error in pioc_support.c at line 2832. I have tried to recompile the parallelio with intel MPI, but the error was shown again. I don't know how to deal with it. I have attached the log file and the code of pioc_support.c at line 2832.
log file:
Abort with message Unknown error in file operation in file ../CTSM/ctsm_MYBRANCH/libraries/parallelio/src/clib/pioc_support.c at line 2832
Abort with message Unknown error in file operation in file ../CTSM/ctsm_MYBRANCH/libraries/parallelio/src/clib/pioc_support.c at line 2832
../CTSM/scratch/mycase72/bld/cesm.exe() [0x1139909]
../CTSM/scratch/mycase72/bld/cesm.exe() [0x1137890]
../CTSM/scratch/mycase72/bld/cesm.exe() [0x113781c]
../CTSM/scratch/mycase72/bld/cesm.exe() [0x1138232]
../CTSM/scratch/mycase72/bld/cesm.exe(PIOc_openfile+0x16) [0x1133436]
../CTSM/scratch/mycase72/bld/cesm.exe() [0x10f16b1]
../CTSM/scratch/mycase72/bld/cesm.exe() [0xf4ccc0]
../CTSM/scratch/mycase72/bld/cesm.exe() [0xf4b68b]
../CTSM/scratch/mycase72/bld/cesm.exe() [0xf3b6fe]
../CTSM/scratch/mycase72/bld/cesm.exe() [0xf35f78]
Abort(-1) on node 0 (rank 0 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, -1) - process 0
pioc_support.c:
/* Broadcast and check the return code. */
if (ios->ioroot == ios->union_rank)
PLOG((2, "Bcasting error code ierr %d ios->ioroot %d ios->my_comm %d",
ierr, ios->ioroot, ios->my_comm));
if ((mpierr = MPI_Bcast(&ierr, 1, MPI_INT, ios->ioroot, ios->my_comm)))
return check_mpi(NULL, file, mpierr, __FILE__, __LINE__);
PLOG((2, "Bcast openfile_retry error code ierr = %d", ierr));
/* If there was an error, free allocated memory and deal with the error. */
if (ierr)
{
free(file);
2832 return check_netcdf2(ios, NULL, ierr, __FILE__, __LINE__);
}
/* Broadcast writability to all tasks. */
if ((mpierr = MPI_Bcast(&file->writable, 1, MPI_INT, ios->ioroot, ios->my_comm)))
return check_mpi(NULL, file, mpierr, __FILE__, __LINE__);