[MITgcm-support] netcdf on macbook
Martin Losch
Martin.Losch at awi.de
Wed May 7 03:42:55 EDT 2014
Nick,
more detailed error messages are found in genmake.log, in the build directory, where you ran genmake2
the model needs to know where the libraries are (type ‘which ncdump’, which will give you some $NETCDF_ROOT/bin/ncdump), and you specify the paths in your build options file. If you use darwin_amd64_gfortran, it should be obvious where to put the value of $NETCDF_ROOT
Martin
On May 5, 2014, at 5:41 PM, Nicholas Record <nrecord at bigelow.org> wrote:
> Hi ,
>
> I'm trying to compile on a mac (OS 10.8), and I'm having trouble with netcdf. I get this warning:
>
> *********************************************************************
> WARNING: the "mnc" package was enabled but tests failed to compile
> NetCDF applications. Please check that:
>
> 1) NetCDF is correctly installed for this compiler and
> 2) the LIBS variable (within the "optfile") specifies the correct
> NetCDF library to link against.
>
> Due to this failure, the "mnc" package is now DISABLED.
> *********************************************************************
>
> Has anyone compiled on a mac? Any suggestions? I installed netcdf with homebrew.
>
> Thanks
> Nick
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
More information about the MITgcm-support
mailing list