[MITgcm-support] using mnc

Matthew Mazloff mmazloff at ucsd.edu
Thu Oct 21 16:39:36 EDT 2010


Hello,

This is not a MITgcm thing -- this has to do with netcdf on your  
machine.  Are the netcdf libraries you are linking to really there?   
You need to install them if not...if so make sure you are linking  
correctly

-Matt

On Oct 21, 2010, at 1:26 PM, Dave Spiegel wrote:

> Hi,
>
> I have been trying to compile a with netcdf, but I getting an error  
> message:
>
> *********************************************************************
> 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.
> *********************************************************************
>
> So, I set
> LIBS='-L/usr/lib64'
> which did not help and then tried setting
> LIBS='-L/usr/lib64/libnetcdf.a -L/usr/lib64/libnetcdf_c++.a -L/usr/ 
> lib64/libnetcdff.a'
> which also did not help.  Am I specifying the right sort of thing in  
> the optfile?  Any thoughts?
>
> Thanks you,
> Dave
> <ATT00001.txt>




More information about the MITgcm-support mailing list