Main menu

Navigation

configure cam5 with se dynamic core

7 posts / 0 new
Last post
dan.lipsa@...
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 -test

to 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-ne2np4

Value "-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

Dan

dan.lipsa@...

It seems the problem is in

~/src/cesm1_2_1/models/atm/cam/bld/config_files/horiz_grid.xml

where ncol="" for my grid size (ne2np4). Does this mean I cannot run cam5 with this grid size?

 

Thanks,

Dan

 

Dan

jedwards

That's right - we support a limited number of cam-se grids:

ne16np4

ne30np4

ne120np4

CESM Software Engineer

dan.lipsa@...
Great. Thank you.

Dan

dan.lipsa@...

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 stopping

and 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

 

Attachment: 

Dan

eaton

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.nc

If you download https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/share/domains/do... and use it by setting

focndomain='/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.

 

dan.lipsa@...
I will update to cesm1_2_2. Thank you. Dan

Dan

Log in or register to post comments

Who's new

  • jwolff
  • tinna.gunnarsdo...
  • sarthak2235@...
  • eolivares@...
  • shubham.gandhi@...