Hello, I am running a case with unsupported resolution in Cheyenne CESM2.1.1, and I ran into a problem while I was creating surface data following CLM5 user guide 1.3 and Cime user guide.
To build ESMF toolkit, I loaded intel/17.0.1, esmf_libs/7.1.0r and esmf-7.1.0r-ncdfio-uni-O before I used mkmapdata.sh, and I got error as following:
keerzhang@cheyenne5:~/cesm2.1.1/components/clm/tools/mkmapdata> module load ncl/6.6.2
keerzhang@cheyenne5:~/cesm2.1.1/components/clm/tools/mkmapdata> ./mkmapdata.sh -f ~/test/runncl/SCRIPgrid_1152x768pt_US-UMB_noocean_c200223.nc -r 1152x768 -t global
./mkmapdata.sh
Script to create mapping files required by mksurfdata_map
query command is ./../../bld/queryDefaultNamelist.pl -silent -namelist clmexp -justvalue -options sim_year=2000 -csmdata /glade/p/cesm/cseg/inputdata
Using user specified scrip grid file: /glade/u/home/keerzhang/test/runncl/SCRIPgrid_1152x768pt_US-UMB_noocean_c200223.nc
Output grid resolution is 1152x768
Hostname = cheyenne5
Due to MODULEPATH changes, the following have been reloaded:
1) esmf-7.1.0r-ncdfio-uni-O 2) esmf_libs/7.1.0r 3) mpt/2.19 4) ncarcompilers/0.5.0 5) ncl/6.6.2 6) netcdf/4.7.3
The following have been reloaded with a version change:
1) intel/18.0.5 => intel/17.0.1
Lmod has detected the following error: These module(s) exist but cannot be loaded as requested: "ncl"
Try: "module spider ncl" to see how to load the module(s).
Lmod is automatically replacing "esmf-7.1.0r-ncdfio-uni-O" with "esmf-7.1.0r-ncdfio-mpi-O".
rm: cannot remove 'PET*.Log': No such file or directory
Creating mapping file: map_0.5x0.5_AVHRR_to_1152x768_nomask_aave_da_c200303.nc
From input grid: /glade/p/cesm/cseg/inputdata/lnd/clm2/mappingdata/grids/SCRIPgrid_0.5x0.5_AVHRR_c110228.nc
For output grid: /glade/u/home/keerzhang/test/runncl/SCRIPgrid_1152x768pt_US-UMB_noocean_c200223.nc
????????CMPT ERROR: mpiexec_mpt must be used to launch all MPI applications
Error status returned from mkmapdata script
However, I made sure that ncl/6.6.2 has been loaded. I think the issue might be with the way I build ESMF (I just loaded those modules above). In the README file for ./mkmapdata.sh, it says "The script requires that ESMF be built and the path for ESMF binary files (using the program ESMF_RegridWeightGen) be given as input to the script. You need to build at least two versions, one with mpiuni and one with mpi." Could anyone explain more on how to build ESMF properly so that I can use ./mkmapdata.sh?
To build ESMF toolkit, I loaded intel/17.0.1, esmf_libs/7.1.0r and esmf-7.1.0r-ncdfio-uni-O before I used mkmapdata.sh, and I got error as following:
keerzhang@cheyenne5:~/cesm2.1.1/components/clm/tools/mkmapdata> module load ncl/6.6.2
keerzhang@cheyenne5:~/cesm2.1.1/components/clm/tools/mkmapdata> ./mkmapdata.sh -f ~/test/runncl/SCRIPgrid_1152x768pt_US-UMB_noocean_c200223.nc -r 1152x768 -t global
./mkmapdata.sh
Script to create mapping files required by mksurfdata_map
query command is ./../../bld/queryDefaultNamelist.pl -silent -namelist clmexp -justvalue -options sim_year=2000 -csmdata /glade/p/cesm/cseg/inputdata
Using user specified scrip grid file: /glade/u/home/keerzhang/test/runncl/SCRIPgrid_1152x768pt_US-UMB_noocean_c200223.nc
Output grid resolution is 1152x768
Hostname = cheyenne5
Due to MODULEPATH changes, the following have been reloaded:
1) esmf-7.1.0r-ncdfio-uni-O 2) esmf_libs/7.1.0r 3) mpt/2.19 4) ncarcompilers/0.5.0 5) ncl/6.6.2 6) netcdf/4.7.3
The following have been reloaded with a version change:
1) intel/18.0.5 => intel/17.0.1
Lmod has detected the following error: These module(s) exist but cannot be loaded as requested: "ncl"
Try: "module spider ncl" to see how to load the module(s).
Lmod is automatically replacing "esmf-7.1.0r-ncdfio-uni-O" with "esmf-7.1.0r-ncdfio-mpi-O".
rm: cannot remove 'PET*.Log': No such file or directory
Creating mapping file: map_0.5x0.5_AVHRR_to_1152x768_nomask_aave_da_c200303.nc
From input grid: /glade/p/cesm/cseg/inputdata/lnd/clm2/mappingdata/grids/SCRIPgrid_0.5x0.5_AVHRR_c110228.nc
For output grid: /glade/u/home/keerzhang/test/runncl/SCRIPgrid_1152x768pt_US-UMB_noocean_c200223.nc
????????CMPT ERROR: mpiexec_mpt must be used to launch all MPI applications
Error status returned from mkmapdata script
However, I made sure that ncl/6.6.2 has been loaded. I think the issue might be with the way I build ESMF (I just loaded those modules above). In the README file for ./mkmapdata.sh, it says "The script requires that ESMF be built and the path for ESMF binary files (using the program ESMF_RegridWeightGen) be given as input to the script. You need to build at least two versions, one with mpiuni and one with mpi." Could anyone explain more on how to build ESMF properly so that I can use ./mkmapdata.sh?