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

Problem Validating PORT

Good afternoon!I am working to validate PORT as per the instruction online, using the simple 10x15 grid as a first test for my runs. When I run CAM I get the following error: Domain InformationHorizontal domain: nx = 24
ny = 19
No. of categories: nc = 1
No. of ice layers: ni = 4
No. of snow layers:ns = 1
Processors: total = 4
Processor shape: square-pop
Distribution type: roundrobin
Distribution weight: latitude
{min,max}Blocks = 1 2
Number of ghost cells: 1CalcWorkPerBlock: Total blocks: 8 Ice blocks: 8 IceFree blocks: 0 Land blocks: 0

Active processors: 4 4

Block size: nx_block = 5
ny_block = 21
(shr_sys_abort) ERROR: ice_open_nc: Cannot open /
(shr_sys_abort) WARNING: calling shr_mpi_abort() and stopping
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 1001.NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
forrtl: error (78): process killed (SIGTERM)
Image PC Routine Line Source
cam 00000000049BB0D9 Unknown Unknown Unknown
cam 00000000049B9A50 Unknown Unknown Unknown
cam 0000000004948272 Unknown Unknown Unknown
cam 00000000048D4253 Unknown Unknown Unknown
cam 00000000048DDCD9 Unknown Unknown Unknown
libpthread.so.0 00002ABFF43CEF90 Unknown Unknown Unknown
libopen-pal.so.5 00002ABFF75DEE93 Unknown Unknown Unknown
libmpi.so.1 00002ABFF3E1443A Unknown Unknown Unknown
libmpi.so.1 00002ABFF3E466D7 Unknown Unknown Unknown
libmpi_mpifh.so.2 00002ABFF3BC055E Unknown Unknown Unknown
cam 00000000017631C5 ice_gather_scatte 1273 ice_gather_scatter.F90
cam 0000000001A0F490 ice_read_write_mp 809 ice_read_write.F90
cam 00000000017E97B1 ice_grid_mp_latlo 1081 ice_grid.F90
cam 00000000017CDC45 ice_grid_mp_init_ 338 ice_grid.F90
cam 0000000000411C3A cice_initmod_mp_c 109 CICE_InitMod.F90
cam 0000000001510186 ice_comp_mct_mp_i 254 ice_comp_mct.F90
cam 000000000097B1A6 ccsm_comp_mod_mp_ 1152 ccsm_comp_mod.F90
cam 0000000000A0A04B MAIN__ 90 ccsm_driver.F90
cam 00000000004117C6 Unknown Unknown Unknown
libc.so.6 00002ABFF45FDB45 Unknown Unknown Unknown
cam 00000000004116B9 Unknown Unknown Unknown
forrtl: error (78): process killed (SIGTERM)
Image PC Routine Line Source
cam 00000000049BB0D9 Unknown Unknown Unknown
cam 00000000049B9A50 Unknown Unknown Unknown
cam 0000000004948272 Unknown Unknown Unknown
cam 00000000048D4253 Unknown Unknown Unknown
cam 00000000048DDCD9 Unknown Unknown Unknown
libpthread.so.0 00002AC29721BF90 Unknown Unknown Unknown
mca_btl_sm.so 00002AC2A1C43448 Unknown Unknown Unknown
libopen-pal.so.5 00002AC29A42BE64 Unknown Unknown Unknown
libmpi.so.1 00002AC296C6143A Unknown Unknown Unknown
libmpi.so.1 00002AC296C936D7 Unknown Unknown Unknown
libmpi_mpifh.so.2 00002AC296A0D55E Unknown Unknown Unknown
cam 00000000017631C5 ice_gather_scatte 1273 ice_gather_scatter.F90
cam 0000000001A0F490 ice_read_write_mp 809 ice_read_write.F90
cam 00000000017E97B1 ice_grid_mp_latlo 1081 ice_grid.F90
cam 00000000017CDC45 ice_grid_mp_init_ 338 ice_grid.F90
cam 0000000000411C3A cice_initmod_mp_c 109 CICE_InitMod.F90
cam 0000000001510186 ice_comp_mct_mp_i 254 ice_comp_mct.F90
cam 000000000097B1A6 ccsm_comp_mod_mp_ 1152 ccsm_comp_mod.F90
cam 0000000000A0A04B MAIN__ 90 ccsm_driver.F90
cam 00000000004117C6 Unknown Unknown Unknown
libc.so.6 00002AC29744AB45 Unknown Unknown Unknown
cam 00000000004116B9 Unknown Unknown Unknown
forrtl: error (78): process killed (SIGTERM)
Image PC Routine Line Source
cam 00000000049BB0D9 Unknown Unknown Unknown
cam 00000000049B9A50 Unknown Unknown Unknown
cam 0000000004948272 Unknown Unknown Unknown
cam 00000000048D4253 Unknown Unknown Unknown
cam 00000000048DDCD9 Unknown Unknown Unknown
libpthread.so.0 00002B4C51D61F90 Unknown Unknown Unknown
libopen-pal.so.5 00002B4C54F71EA9 Unknown Unknown Unknown
libmpi.so.1 00002B4C517A743A Unknown Unknown Unknown
libmpi.so.1 00002B4C517D96D7 Unknown Unknown Unknown
libmpi_mpifh.so.2 00002B4C5155355E Unknown Unknown Unknown
cam 00000000017631C5 ice_gather_scatte 1273 ice_gather_scatter.F90
cam 0000000001A0F490 ice_read_write_mp 809 ice_read_write.F90
cam 00000000017E97B1 ice_grid_mp_latlo 1081 ice_grid.F90
cam 00000000017CDC45 ice_grid_mp_init_ 338 ice_grid.F90
cam 0000000000411C3A cice_initmod_mp_c 109 CICE_InitMod.F90
cam 0000000001510186 ice_comp_mct_mp_i 254 ice_comp_mct.F90
cam 000000000097B1A6 ccsm_comp_mod_mp_ 1152 ccsm_comp_mod.F90
cam 0000000000A0A04B MAIN__ 90 ccsm_driver.F90
cam 00000000004117C6 Unknown Unknown Unknown
libc.so.6 00002B4C51F90B45 Unknown Unknown Unknown
cam 00000000004116B9 Unknown Unknown Unknown
CAM run failed Any help would be greatly appreciated. Thanks so much!-Daniel
 

eaton

CSEG and Liaisons
The error looks like a missing specification of an ice file.  You need to provide more details of what cesm version you are using and how the build/run have been configured. 
 
Hi Brian,I am running CESM 1.2.0. I have res=10x15 and dyn=fv. The build is configured with the following:     $cfgdir/configure       -fc ifort       -offline_drv rad       -phys cam4       -chem none       -rad camrt       -debug       -spmd       -nosmp       -res $res       -dyn $dyn       -ice cice       -ntasks $ntasks       -fflags '-I${LIB_MPI}'       -ldflags '-lmpi_mpifh'   and the run is configured with:set runtype     = startupset stop_n= 16$cfgdir/build-namelist -case $case -runtype $runtype -d $rundir -ignore_ic_date -test  -namelist "&camexp  stop_n=$stop_n, stop_option='nmonths'    iradsw = 1    iradlw = 1    iradae = 1    nhtfrq = 0,73   ndens = 1,1   avgflag_pertape = 'A','I'   mfilt = 1,1   rad_data_output = .true.   offline_driver_fileslist = '$rundir/file_list.txt'    offline_driver_do_fdh = .true.  It appears to me that there is a missing grid file in $rundir/ice_in, but I'm not sure how this would arise in my build process. Comparing my CAM data run with my PORT run, ice_in has  grid_file='/' and kmtfile='/' for my PORT run, but not in my CAM run (for the CAM run I have the actual input files), so it seems a little odd, as they both point to the same input data directories in the build scripts.Thanks again,Daniel 
 

eaton

CSEG and Liaisons
I'm not familiar with doing PORT runs, and don't have access to source code right now (I'm out of the office till next Wed).  But my guess is that for the PORT run you could set '-ice sice' in the configure args so that no sea ice model is present (sice is the stubb sea ice component).
 
I'm also trying to validate PORT following the online documentation settings for configuration and namelist settings. So far I tried to use an F compset, and f19_g16 resolution. The validation run fails in clm with the output below in the lnd log file. This problem is similar to the one reported on the clm forum.

Any help is appreciated.

dtime_sync= 1800 dtime_clm= 1800 mod = 0
(lnd_init_mct) :Atmospheric input is from a prognostic model
aerodynamic parameter error in UrbanFluxes
h_u - z_d
 

apgrass

New Member
Hi all, I also ran into UrbanFlux and then parallelization errors when trying to run PORT.  It turns out that you need to have a compset with only CAM active and all other components as stubs to run PORT.  This setup worked for me:  create_newcase -case ~/cesm/$MYRUN -user_compset 2000_CAM4_SLND_SICE_SOCN_SROF_SGLC_SWAV -res f19_f19 -mach yellowstone Best, Angie Pendergrass
 
Top