Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Encoutering error when installing netcdf-fortran

hana_masoomi

New member
Hello,

I am currently working on setting up the libraries for WRF-Fire in a Docker container.

I have set the environmental variables and installed the NetCDF library in the LIBRARIES directory. However, I encountered an issue while trying to install NetCDF-Fortran. The error message indicates that I need to set the CPPFLAGS, even though I had previously set it to: -I$DIR/grib2/include

Additionally, the tutorials do not mention the necessity of having a grib2 directory before installing NetCDF and NetCDF-Fortran
 
Each machine and environment is different. You can try setting CPPFLAGS to both locations (setenv CPPFLAGS -I$DIR/grib2/include -I$DIR/netcdf/include). If that doesn't work, please speak to a systems administrator at your institution. Unfortunately we are unable to assist with library installation issues.
 
Top