Why are you changing MASK_MESH twice? Do it once and set it to lnd_mesh.nc.
And as previously instructed, change "cd" to "cp" in this command:
cd /glade/work/jteymoori/CTSM/tools/site_and_regional/subset_data_regional/surfdata_united_states_hist_16pfts_Irrig_CMIP6_simyr2000_c231213.nc landmask.nc
cd (changing the directory) doesn't make any sense. You simply want to copy your surfdata_.... file to landmask.nc
And as previously instructed, change NTASKS_PER_INST=144, not 44.
And as previously instructed, change "cd" to "cp" in this command:
cd /glade/work/jteymoori/CTSM/tools/site_and_regional/subset_data_regional/surfdata_united_states_hist_16pfts_Irrig_CMIP6_simyr2000_c231213.nc landmask.nc
cd (changing the directory) doesn't make any sense. You simply want to copy your surfdata_.... file to landmask.nc
And as previously instructed, change NTASKS_PER_INST=144, not 44.