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

CLM single-point stimulation error ./mkmapdata.sh

Status
Not open for further replies.

xxyii

xiuyi wu
New Member
Dear all,
I want to use CESM1.2.2 for single-point simulation and need to make own single-point surface data. However, now I encountered this problem above when making mapping files by using "./mkmapdata.sh -r $GRIDNAME -f $GRIDFILE -t regional" code.
The following is my error message:

(base) [@mgt mkmapdata]$ vi mkmapdata.sh
(base) [@mgt mkmapdata]$ ./mkmapdata.sh -r $GRIDNAME -f $GRIDFILE -t regional -b
./mkmapdata.sh
Script to create mapping files required by mksurfdata_map
query command is ./../../../bld/queryDefaultNamelist.pl -silent -namelist clmexp -phys clm4_5 -justvalue -options sim_year=2000 -csmdata /share/home/lilonghui/data/cesm_inputdata
Using user specified scrip grid file: /share/home/lilonghui/lilonghui_liujia/wuxiuyi/cesm1_2_2/models/lnd/clm/tools/shared/mkmapgrids/SCRIPgrid_1x1_CN-Qia_nomask_c210928.nc
Output grid resolution is 1x1_CN-Qia
Machine mgt NOT recognized
Running in batch mode using MPI
Name of MPI exec to use was NOT set
Set the environment variable: MPIEXEC

I have checked the user's manual and many posts on forums, but I still can’t find a solution to the problem. Can anyone help me?

Xiuyi
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
The mkmapdata.sh script was setup to only work out of the box on a couple supported machines. It requires that ESMF and MPI is built on the machine you use as well as requiring a large amount of memory even for a single point case. We don't have explicit instructions to get it to work on a different machine. In order to get it working you'll need to dig into the script and configure it for the machine you want to use. That will include making sure you have ESMF and MPI built on the machine. You should be able to find the part of the script that is custom for the supported machines and get the same sort of things working for your machine. Part of that is just pointing to the path for the needed tools lof ESMF and MPI. But, this will take quite a bit of effort, and we don't have resources to guide you through the process. If you do get it working I do recommend letting others know about your effort and what you had to do to get it to work.
 
Status
Not open for further replies.
Top