Troubleshooting
Problem 1: An Error Is Reported During Software Build
Symptom:
If the following error is reported during the installation, add the NetCDF installation path to the specified file based on the error information.

Possible Cause:
The NetCDF installation path is not added to the specified file.
Procedure:
- Modify the CmakCache.txt file.
- Open CmakCache.txt.
vi /path/to/NCEPLIBS/NCEPLIBS1.3.0/build/w3emc/src/w3emc-build/CmakCache.txt
- Press i to enter the insert mode and modify the file as follows:
Before the modification:
//NetCDF C include directory NetCDF_C_INCLUDE_FILE:FILEPATH=NetCDF_C_INCLUDE_FILE-NOTFOUND
After the modification:
//NetCDF C include directory NetCDF_C_INCLUDE_FILE:FILEPATH=/path/to/NETCDF/include
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open CmakCache.txt.
- Build the software. If a similar error occurs, perform the previous steps to rectify the error.
make -j 16
Parent topic: NCEPLIBS 1.2.0 Porting Guide (CentOS 7.6)