This pull request is to merge in a fix required on newer version of Mac to correctly get gfortran with netcdf working. This is essentially a work around to fix some netcdf import problems with the Ezcdf module. The entire change is in one new file, Sources/LIBSTELL_minimal/netcdf_inc.f, and then the ezcdf files load in this file instead of loading netcdf directly. Since I copied this over form the ORNL VMEC GitHub, I am not entirely sure what the 2000 lines of new code is doing in this new file, but it worked for my Mac!
This pull request is to merge in a fix required on newer version of Mac to correctly get gfortran with netcdf working. This is essentially a work around to fix some netcdf import problems with the Ezcdf module. The entire change is in one new file, Sources/LIBSTELL_minimal/netcdf_inc.f, and then the ezcdf files load in this file instead of loading netcdf directly. Since I copied this over form the ORNL VMEC GitHub, I am not entirely sure what the 2000 lines of new code is doing in this new file, but it worked for my Mac!