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

Some problems when running gen_domain

xianglin

New Member
Dear All


Recently I've been trying to use CESM 1.2.2 to modify some of the land and sea distributions. I am having some problems running gen_domain. Could you please give some suggestions?

./gen_domain -m /glade/u/home/xianglinren/cesmtry/map_gx1PT_TO_fv19_25_aave.231031.nc -o gx1PT -l fv19_25


fmap = /glade/u/home/xianglinren/cesmtry/map_gx1PT_TO_fv19_25_aave.231031.nc


fn1_out_ocn= domain.ocn.gx1PT.231031.nc


fn2_out_lnd= domain.lnd.fv19_25_gx1PT.231031.nc


fn2_out_ocn= domain.ocn.fv19_25_gx1PT.231031.nc


usercomment= null


eps = 9.999999960041972E-013


fminval= 1.000000047497451E-003


fmaxval= 1.00000000000000


set_fv_pole_yc = 0





input SCRIP data...


pole_fix = F





input file =


/glade/u/home/xianglinren/cesmtry/map_gx1PT_TO_fv19_25_aave.231031.nc


open /glade/u/home/xianglinren/cesmtry/map_gx1PT_TO_fv19_25_aave.231031.nc


domain_a = /glade/u/home/xianglinren/cesmtry/gx1PT_2_231031.nc


domain_b = /glade/u/home/xianglinren/cesmtry/fv1.9x2.5_090205.nc


grid_file_ocn= /glade/u/home/xianglinren/cesmtry/gx1PT_2_231031.nc


grid_file_atm= /glade/u/home/xianglinren/cesmtry/fv1.9x2.5_090205.nc


n,nv,ni,nj,na,ns= 122880 4 122880 1 122880


159921





output domain data...


nf = 1


create domain.ocn.gx1PT.231031.nc


netcdf error with rcode = 13 error =


Permission denied





forrtl: severe (174): SIGSEGV, segmentation fault occurred


Image PC Routine Line Source


gen_domain 00000000007CF6D1 Unknown Unknown Unknown


gen_domain 00000000007CD80B Unknown Unknown Unknown


gen_domain 00000000007A79F4 Unknown Unknown Unknown


gen_domain 00000000007A7806 Unknown Unknown Unknown


gen_domain 000000000078CA79 Unknown Unknown Unknown


gen_domain 0000000000748476 Unknown Unknown Unknown


libpthread-2.22.s 00007FD376E3BC00 Unknown Unknown Unknown


libc-2.22.so 00007FD376B82DE1 __strncat_chk Unknown Unknown


gen_domain 000000000074770C Unknown Unknown Unknown


gen_domain 00000000004055ED fmain_IP_check_re 480 gen_domain.F90


gen_domain 000000000040C21B fmain_IP_gen_doma 438 gen_domain.F90


gen_domain 0000000000404B56 MAIN__ 110 gen_domain.F90


gen_domain 000000000040419E Unknown Unknown Unknown


libc-2.22.so 00007FD376AA8A35 __libc_start_main Unknown Unknown


gen_domain 00000000004040A9 Unknown Unknown Unknown


Best,
Xianglin
 

nick

Herold
Member
"Permission denied" looks like a file access issue. Do you have write permission? And try deleting any files that the tool is trying to create.
 
Top