s_albani@cornell_edu
New Member
Hi!I have a similar problem to the one discussed in the topic "Problem building CESM1_0_5 on yellowstone".Briefly, I want to run CAM5 (the FC5 compset) with MERRA reanalysis, for which I undestand I need to use ESMF. I did change./xmlchange -file env_build.xml -id USE_ESMF_LIB -val TRUEThe model build crashes, and from the log file it's pointing to "/glade/p/work/svasquez/install/esmf-5.3.0-O/lib/esmf.mk: No such file or directory"The ESMF_LIBDIR is undefined: "echo $ESMF_LIBDIR" gives "ESMF_LIBDIR: Undefined variable."Now I should point to the right library, and I tried the solution suggested in "Problem building CESM1_0_5 on yellowstone", that is./xmlchange -file env_build.xml -id ESMF_LIBDIR -val /glade/p/work/svasquez/ESMF_5_2_0p1/esmf/lib/libO/Linux.intel.64.mpich2.default/but the problem is that there is no ESMF_LIBDIR filed in the env_build.xml files for this model version, at least the few compsets that I tried: FC5, FSDBAMCN, B2000CN. Manually editing the xml file is not working, so I am not sure how to set alternatively the environmental variable to the correct library.Any suggestion would be appreciated! Thanks,Samuel