CESM1_2_2 building error

When I tried to build I get the following error.   Could not find a package configuration file provided by "NETCDF_Fortran"  with any of the following names:     NETCDF_FortranConfig.cmake    netcdf_fortran-config.cmake   Add the installation prefix of "NETCDF_Fortran" to CMAKE_PREFIX_PATH or set  "NETCDF_Fortran_DIR" to a directory containing one of the above files.  If  "NETCDF_Fortran" provides a separate development package or SDK, be sure it  has been installed.I guess this is saying that I have to find a file with the names     NETCDF_FortranConfig.cmake or    netcdf_fortran-config.cmake. But in the directory /cesm1_2_2/scripts/ccsm_utils/CMake I could find only the files FindNETCDF.cmake. I don't know how to proceed from here. Appreciate any help. Thanks in advance.Error file is attached.
 
Back
Top