You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On line 349, the $NETCDFF needs to be placed before -lnetcdf $FC ${FFLAGS} fort_netcdf.f -o fort_netcdf -L${NETCDF}/lib -lnetcdf $NETCDFF > /dev/null 2>&1
It should be $FC ${FFLAGS} fort_netcdf.f -o fort_netcdf -L${NETCDF}/lib $NETCDFF -lnetcdf > /dev/null 2>&1
The order of -lnetcdff -lnetcdf is important, at least when compiling using gfortran.
The text was updated successfully, but these errors were encountered:
On line 349, the $NETCDFF needs to be placed before -lnetcdf
$FC ${FFLAGS} fort_netcdf.f -o fort_netcdf -L${NETCDF}/lib -lnetcdf $NETCDFF > /dev/null 2>&1
It should be
$FC ${FFLAGS} fort_netcdf.f -o fort_netcdf -L${NETCDF}/lib $NETCDFF -lnetcdf > /dev/null 2>&1
The order of -lnetcdff -lnetcdf is important, at least when compiling using gfortran.
The text was updated successfully, but these errors were encountered: