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

ERROR(./PTCLMmkdata):: Error running command

Status
Not open for further replies.

Albert

Albert
New Member
Hi all,
I'm learning to use PTCLM. I use CESM2.1.3 with netcdf 4.4.1, ESMF5.2.0.
When I used this command:

./PTCLMmkdata -s US-UMB -d $CSMDATA --donot_use_tower_yrs --cime_root $CIMEROOT_ALBERT
I had this problom:
Code:
---------------- PTCLMmkdata version PTCLM2_20200118-----------------------------

   ./PTCLMmkdata -s US-UMB -d /share/home/liujunzhi/liujunzhi/apps/cesm_datafile/inputdata --donot_use_tower_yrs --cime_root /share/home/liujunzhi/liujunzhi/apps/CESM/cime

   OPTIONS:

Site name:                        US-UMB

Root CTSM directory:                    /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm
Root CIME directory:                    /share/home/liujunzhi/liujunzhi/apps/CESM/cime
** Surface data file will be built using site-level data when available unless otherwise specified **

    Extract PFT data from gridded files:        False
    Extract soil data from gridded files:        False

Open Site data file: /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/PTCLM/PTCLM_sitedata/PTCLMDATA_sitedata.txt

CESM input data directory:                /share/home/liujunzhi/liujunzhi/apps/cesm_datafile/inputdata
----------------------------------------------------------------

Write /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/PTCLM/mydatafiles/1x1pt_US-UMB/README.PTCLM with command line
Run command: /bin/chmod +x /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/PTCLM/mydatafiles/1x1pt_US-UMB/shell_commands
Making input files for the point (this may take a while if creating transient datasets)
Creating map file for a point with no ocean
lat=45.5598
/share/apps/ncl-6.5.0/bin/ncl
Run command: /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/mkmapdata/mknoocnmap.pl -p 45.5598,275.2862 -name 1x1pt_US-UMB > /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/PTCLM/mydatafiles/1x1pt_US-UMB/mknoocnmap.log
mapfile = /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/PTCLM/mydatafiles/1x1pt_US-UMB/map_1x1pt_US-UMB_noocean_to_1x1pt_US-UMB_nomask_aave_da_200715.nc
scripgridfile = /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/PTCLM/mydatafiles/1x1pt_US-UMB/SCRIPgrid_1x1pt_US-UMB_nomask_c200715.nc
Creating data domain
Run command: /share/home/liujunzhi/liujunzhi/apps/CESM/cime/tools/mapping/gen_domain_files/gen_domain -m /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/PTCLM/mydatafiles/1x1pt_US-UMB/map_1x1pt_US-UMB_noocean_to_1x1pt_US-UMB_nomask_aave_da_200715.nc -o navy -l 1x1pt_US-UMB -c 'Running gen_domain from PTCLMmkdata' > /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/PTCLM/mydatafiles/1x1pt_US-UMB/gen_domain.log
domainfile = domain.lnd.1x1pt_US-UMB_navy.200715.nc


Re-create surface dataset:  


Re-create mapping files for surface dataset:
Run command: /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/mkmapdata/mkmapdata.sh --gridfile /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/PTCLM/mydatafiles/1x1pt_US-UMB/SCRIPgrid_1x1pt_US-UMB_nomask_c200715.nc --res 1x1pt_US-UMB --gridtype regional -v > /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/PTCLM/mydatafiles/1x1pt_US-UMB/mkmapdata.log
rm: cannot remove ‘PET*.Log’: No such file or directory
forrtl: severe (71): integer divide by zero
Image              PC                Routine            Line        Source            
ESMF_RegridWeight  00000000004281A4  for__signal_handl     Unknown  Unknown
libpthread-2.17.s  00002B74E42146D0  Unknown               Unknown  Unknown
ESMF_RegridWeight  000000000040C725  Unknown               Unknown  Unknown
ESMF_RegridWeight  000000000040A262  Unknown               Unknown  Unknown
libc-2.17.so       00002B74EEAFC445  __libc_start_main     Unknown  Unknown
ESMF_RegridWeight  000000000040A169  Unknown               Unknown  Unknown
ERROR(./PTCLMmkdata):: Error running command: /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/mkmapdata/mkmapdata.sh --gridfile /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/PTCLM/mydatafiles/1x1pt_US-UMB/SCRIPgrid_1x1pt_US-UMB_nomask_c200715.nc --res 1x1pt_US-UMB --gridtype regional -v > /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/PTCLM/mydatafiles/1x1pt_US-UMB/mkmapdata.log
Aborted (core dumped)
AND the log file is :
Code:
  1 /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/mkmapdata/mkmapdata.sh
  2 Script to create mapping files required by mksurfdata_map
  3 query command is /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/mkmapdata/../../bld/queryDefaultNamelist.pl -silent -namelist clmexp      -justvalue -options sim_year=2000 -csmdata /share/home/liujunzhi/liujunzhi/apps/cesm_datafile/inputdata
  4
  5 Using user specified scrip grid file: /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/PTCLM/mydatafiles/1x1pt_US-UMB/SCRIPgrid_1x1pt_U    S-UMB_nomask_c200715.nc
  6 Output grid resolution is 1x1pt_US-UMB
  7 /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/mkmapdata/../../bld/queryDefaultNamelist.pl -silent -namelist clmexp -justvalue -optio    ns sim_year=2000 -csmdata /share/home/liujunzhi/liujunzhi/apps/cesm_datafile/inputdata -var scripgriddata -res 0.5x0.5 -options lmask=AVHRR,glc_nec=1    0 -onlyfiles
25 Hostname = liujunzhi
26 Machine liujunzhi NOT recognized
27 Creating mapping file: map_0.5x0.5_AVHRR_to_1x1pt_US-UMB_nomask_aave_da_c200715.nc
28 From input grid: /share/home/liujunzhi/liujunzhi/apps/cesm_datafile/inputdata/lnd/clm2/mappingdata/grids/SCRIPgrid_0.5x0.5_AVHRR_c110228.nc
29 For output grid: /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/PTCLM/mydatafiles/1x1pt_US-UMB/SCRIPgrid_1x1pt_US-UMB_nomask_c200715.    nc
30
31 /share/apps/esmf-5.2.0-intel/bin/binO/Linux.intel.64.intelmpi.default/ESMF_RegridWeightGen --ignore_unmapped -s /share/home/liujunzhi/liujunzhi/apps/    cesm_datafile/inputdata/lnd/clm2/mappingdata/grids/SCRIPgrid_0.5x0.5_AVHRR_c110228.nc -d /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/too    ls/PTCLM/mydatafiles/1x1pt_US-UMB/SCRIPgrid_1x1pt_US-UMB_nomask_c200715.nc -m conserve -w map_0.5x0.5_AVHRR_to_1x1pt_US-UMB_nomask_aave_da_c200715.nc     --dst_regional --src_type SCRIP --dst_type SCRIP
32 MPI startup(): I_MPI_F77 environment variable is not supported.
33 MPI startup(): To check the list of supported variables, use the impi_info utility or refer to https://software.intel.com/en-us/mpi-library/documenta    tion/get-started.
34  use default pole: None
35  Starting weight generation with these inputs:
36    Source File:
37  /share/home/liujunzhi/liujunzhi/apps/cesm_datafile/inputdata/lnd/clm2/mappingda
38  ta/grids/SCRIPgrid_0.5x0.5_AVHRR_c110228.nc
39    Destination File:
40  /share/home/liujunzhi/liujunzhi/apps/CESM/components/clm/tools/PTCLM/mydatafile
41  s/1x1pt_US-UMB/SCRIPgrid_1x1pt_US-UMB_nomask_c200715.nc
42    Weight File: map_0.5x0.5_AVHRR_to_1x1pt_US-UMB_nomask_aave_da_c200715.nc
43    Source File is in SCRIP format
44    Source Grid is a global grid
45    Source Grid is a logically rectangular grid
46    Destination File is in SCRIP format
47    Destination Grid is a regional grid
48    Destination Grid is a logically rectangular grid
49    Regrid Method: conserve
50    Pole option: NONE
51 Error status returned from mkmapdata script

Anyone have the same problem or know how to solved it?Please give me some advice?Thank you.
 
Status
Not open for further replies.
Top