Closed mathomp4 closed 3 years ago
@mathomp4 See #111 for a possible solution. I should have checked with you.
@mathomp4 See #111 for a possible solution. I should have checked with you.
@aerorahul Ooh. Thanks! You were better than my current "workaround": Don't build netcdf-cxx4 if macOS. 😄 (I have the luxury that I only build the C++ interface because it's essentially free, but not required by GEOS. Yet.)
Thanks, and now that this is on my radar I'll get it merged in before other things bubble back to the top. We'll be minting fresh Fortran and C++ releases shortly, so now is a good time.
All,
I seem to be having an issue compiling netcdf-cxx4 and it seems to be due to my upgrading my (work) laptop from Catalina to Big Sur. Before the upgrade, netcdf-cxx4 was happy with
clang
but now it's not.To wit, my OS is macOS 11.3, the compiler is
clang++
(or, rather,mpic++
as I built HDF5 for parallel) from XCode 12.5:and the issue is that when I try and build the library I get errors. I'm putting the output below, but note that this is built inside a set of libraries I maintain for a climate model, so the GNU make that's called that eventually calls the make in netcdf-cxx4 is not pretty, but it works. To wit: