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 in mkmapdata.sh

Status
Not open for further replies.

jiamengl

Jiameng Lai
Member
Hi, I met errors while running mkmapdata.sh on cheyenne. Can anyone help me with this?

My code:
setenv GRIDNAME f19_g17_DK_SOR
setenv CDATE `date +%y%m%d`
cd ~/my_cesm_sandbox/components/clm//tools/mkmapdata
./mknoocnmap.pl -p 55.5,11.6 -n $GRIDNAME
setenv MAPFILE ~/my_cesm_sandbox/components/clm//tools/mkmapgrids/map_${GRIDNAME}_noocean_to_${GRIDNAME}_nomask_aave_da_${CDATE}.nc
setenv GRIDFILE ~/my_cesm_sandbox/components/clm//tools/mkmapgrids/SCRIPgrid_${GRIDNAME}_nomask_c${CDATE}.nc
cd ~/my_cesm_sandbox/components/clm/tools/mkmapdata
./mkmapdata.sh -r $GRIDNAME -f $GRIDFILE -t regional

Error message:
./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/jiamengl/my_cesm_sandbox/components/clm/tools/mkmapgrids/SCRIPgrid_f19_g17_DK_SOR_nomask_c220522.nc
Output grid resolution is f19_g17_DK_SOR
Hostname = cheyenne2

Lmod is automatically replacing "gnu/8.3.0" with "intel/18.0.5".

Due to MODULEPATH changes, the following have been reloaded:
1) esmf_libs/7.1.0r 2) ncarcompilers/0.5.0 3) ncl/6.6.2 4) netcdf/4.7.4

rm: cannot remove 'PET*.Log': No such file or directory
Creating mapping file: map_0.5x0.5_AVHRR_to_f19_g17_DK_SOR_nomask_aave_da_c220522.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/jiamengl/my_cesm_sandbox/components/clm/tools/mkmapgrids/SCRIPgrid_f19_g17_DK_SOR_nomask_c220522.nc

/glade/u/apps/ch/opt/esmf-mpi-netcdf/7.1.0r/mpt/2.19/intel/18.0.5//bin/binO/Linux.intel.64.mpi.default/ESMF_RegridWeightGen: error while loading shared libraries: libmpi.so: cannot open shared object file: No such file or directory
Error status returned from mkmapdata script
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
I tried this on cheyenne and it appeared to be working. Is it working for you now? It's possible that some libraries were not setup correctly after the HPC downtime. I'd also suggest running your last command like this to ensure you have enough memory and you use the compute nodes and not the login nodes:

qcmd –A $PROJECT –l walltime=04:00:00 -l select=3:ncpus=1:mpiprocs=1:mem=109GB -- ./mkmapdata.sh -r $GRIDNAME -f $GRIDFILE -t regional
 
Status
Not open for further replies.
Top