[MITgcm-support] MNC package

Ed Hill ed at eh3.com
Wed Mar 14 13:36:27 EDT 2007


On Wed, 14 Mar 2007 10:07:30 +0000 (GMT) Lucas Merckelbach
<lmm at noc.soton.ac.uk> wrote:

> Hi Riema,
> 
> > i'd like to use netcdf (mnc package), and as i know...to use mnc
> > pkg in MITgcm we have to:
> > 1. add mnc at $mypath/code/package.conf
> 
> After this step, did you do the build cycle again? As far as I
> understand, the package.conf is used to generate PACKAGES_CONFIG.h in
> your code directory, which causes your error mesg:
> 
> > and i've followed the 3 above step...but i have an error message :
> > **WARNING** CONFIG_CHECK useMNC is TRUE and #undef ALLOW_MNC
> 
> You need to rebuild your code to have that to take effect.


Hi Riema,

Lucas is right.  When you change the list of packages you need to
recompile.  And when you recompile genmake2 will emit a warning and
default back to MDSIO if it is unable to locate the necessary NetCDF
headers and libraries (or if it can locate them but cannot build test
programs using them).

Some past emails from the MITgcm-support archive talk about the NetCDF
install process and using MNC and perhaps they will help you:

  http://mitgcm.org/pipermail/mitgcm-support/2004-September/002589.html
  http://mitgcm.org/pipermail/mitgcm-support/2005-January/002800.html

Also, there are examples of how to set the NetCDF INCLUDE and LIBS
information within the "optfiles" at:

  MITgcm/tools/build_options

   [e.g. "grep -i netcdf MITgcm/tools/build_options/*"]

Hope that helps!
Ed

-- 
Edward H. Hill III, PhD  |  ed at eh3.com  |  http://eh3.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20070314/9d538d70/attachment.sig>


More information about the MITgcm-support mailing list