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

configure cam5 with se dynamic core

Dear CESM community,I am trying to configure cam5 directly (not through cesm configuration). I am issuing:~/src/cesm1_2_1/models/atm/cam/bld/configure -fc mpif90 -fc_type gnu -cc mpicc -dyn se -hgrid ne2np4 -ntasks 2 -debug -nosmp -testto configure my build, however I am getting:Issuing command to the CICE configure utility:~/src/cesm1_2_1/models/ice/cice/bld/configure -hgrid ne2np4 -cice_mode prescribed -ntr_aero 0 -nx -ny 1 -bsizex -bsizey -maxblocks -decomptype -cache config_cache_cice.xml -cachedir ~/build/cam-5.3-se-ne2np4Value "-ny" invalid for option nx (number expected)'-hgrid ne30np4' works correctly, however this configuration takes a long time to run.I am trying to configure the simulation with a smaller grid to make debugging easier. Do you have any suggestion on how to fix the problem?Thanks, Dan
 
It seems the problem is in~/src/cesm1_2_1/models/atm/cam/bld/config_files/horiz_grid.xmlwhere ncol="" for my grid size (ne2np4). Does this mean I cannot run cam5 with this grid size? Thanks,Dan 
 
It seems the problem is in~/src/cesm1_2_1/models/atm/cam/bld/config_files/horiz_grid.xmlwhere ncol="" for my grid size (ne2np4). Does this mean I cannot run cam5 with this grid size? Thanks,Dan 
 
It seems the problem is in~/src/cesm1_2_1/models/atm/cam/bld/config_files/horiz_grid.xmlwhere ncol="" for my grid size (ne2np4). Does this mean I cannot run cam5 with this grid size? Thanks,Dan 
 
I tried -hgrid ne16np4 running on 2 MPI processors, however I get:(seq_mct_drv) : Performing domain checking(seq_domain_check)  --- checking land maskfrac ---(seq_domain_check)  --- checking ocean maskfrac --- (seq_domain_check_fracmask) ERROR: incompatible domain mask and frac values (seq_domain_check_fracmask) ERROR: incompatible domain mask and frac values(shr_sys_abort) ERROR: (seq_domain_check_fracmask)  incompatible domain mask and frac values(shr_sys_abort) WARNING: calling shr_mpi_abort() and stopping(shr_sys_abort) ERROR: (seq_domain_check_fracmask)  incompatible domain mask and frac values(shr_sys_abort) WARNING: calling shr_mpi_abort() and stoppingand then the simulation ends. ne30np4 is the smallest cam5 se simulation I can run. Attached is my full cam5 log.Do you know what might be the problem? Thank you,Dan 
 
I tried -hgrid ne16np4 running on 2 MPI processors, however I get:(seq_mct_drv) : Performing domain checking(seq_domain_check)  --- checking land maskfrac ---(seq_domain_check)  --- checking ocean maskfrac --- (seq_domain_check_fracmask) ERROR: incompatible domain mask and frac values (seq_domain_check_fracmask) ERROR: incompatible domain mask and frac values(shr_sys_abort) ERROR: (seq_domain_check_fracmask)  incompatible domain mask and frac values(shr_sys_abort) WARNING: calling shr_mpi_abort() and stopping(shr_sys_abort) ERROR: (seq_domain_check_fracmask)  incompatible domain mask and frac values(shr_sys_abort) WARNING: calling shr_mpi_abort() and stoppingand then the simulation ends. ne30np4 is the smallest cam5 se simulation I can run. Attached is my full cam5 log.Do you know what might be the problem? Thank you,Dan 
 
I tried -hgrid ne16np4 running on 2 MPI processors, however I get:(seq_mct_drv) : Performing domain checking(seq_domain_check)  --- checking land maskfrac ---(seq_domain_check)  --- checking ocean maskfrac --- (seq_domain_check_fracmask) ERROR: incompatible domain mask and frac values (seq_domain_check_fracmask) ERROR: incompatible domain mask and frac values(shr_sys_abort) ERROR: (seq_domain_check_fracmask)  incompatible domain mask and frac values(shr_sys_abort) WARNING: calling shr_mpi_abort() and stopping(shr_sys_abort) ERROR: (seq_domain_check_fracmask)  incompatible domain mask and frac values(shr_sys_abort) WARNING: calling shr_mpi_abort() and stoppingand then the simulation ends. ne30np4 is the smallest cam5 se simulation I can run. Attached is my full cam5 log.Do you know what might be the problem? Thank you,Dan 
 

eaton

CSEG and Liaisons
I can run this configuration using cesm1_2_2.  Can you update to that version?
If not, the problem in cesm1_2_1 is that there is a problem in this file:grid_file = /home/danlipsa/src/cesm-data/share/domains/domain.ocn.ne16np4_gx3v7.120406.ncIf you download https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/share/domains/domain.ocn.ne16np4_gx3v7.121113.nc and use it by settingfocndomain='/home/danlipsa/src/cesm-data/share/domains/domain.ocn.ne16np4_gx3v7.121113.nc'in the script that calls build-namelist (I'm assuming you're using a CAM standalone build) then things should work. 
 

eaton

CSEG and Liaisons
I can run this configuration using cesm1_2_2.  Can you update to that version?
If not, the problem in cesm1_2_1 is that there is a problem in this file:grid_file = /home/danlipsa/src/cesm-data/share/domains/domain.ocn.ne16np4_gx3v7.120406.ncIf you download https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/share/domains/domain.ocn.ne16np4_gx3v7.121113.nc and use it by settingfocndomain='/home/danlipsa/src/cesm-data/share/domains/domain.ocn.ne16np4_gx3v7.121113.nc'in the script that calls build-namelist (I'm assuming you're using a CAM standalone build) then things should work. 
 

eaton

CSEG and Liaisons
I can run this configuration using cesm1_2_2.  Can you update to that version?
If not, the problem in cesm1_2_1 is that there is a problem in this file:grid_file = /home/danlipsa/src/cesm-data/share/domains/domain.ocn.ne16np4_gx3v7.120406.ncIf you download https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/share/domains/domain.ocn.ne16np4_gx3v7.121113.nc and use it by settingfocndomain='/home/danlipsa/src/cesm-data/share/domains/domain.ocn.ne16np4_gx3v7.121113.nc'in the script that calls build-namelist (I'm assuming you're using a CAM standalone build) then things should work. 
 
Top