Error "F90-S-0017-Unable to open include file: netcdf.inc" Reported When Compiling the wrf_io Module
Symptom
During the NCEPLIBS compilation and installation, the wrf_io module reports the following error:

Key Process and Cause Analysis
None
Conclusion and Solution
- Modify the /wrf_io.dir/build.make file.
- Open the /wrf_io.dir/build.make file.
vi /path/to/NCEPLIBS/NCEPLIBS-1.2.0/build/CMakeFiles/wrf_io.dir/build.make
- Press i to enter the edit mode and modify the content in line 115.
cd /path/to/NCEPLIBS/NCEPLIBS-1.2.0/build/wrf_io/src/wrf_io-build && sed -i "s/isystem/I/g" `grep -rl "isystem"` && $(MAKE)
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open the /wrf_io.dir/build.make file.
- Perform the compilation again.
make
Parent topic: Troubleshooting
