[MITgcm-support] netcdf output

Jaime Palter jbp3 at duke.edu
Thu Dec 15 13:26:54 EST 2005


Hello,

Please excuse the message I just sent that was empty of new information.
It was a slip of a few key strokes.

I meant to write with a question about an error message produced when I
run genmake.  It seems that genmake can't find the file mnc_id_header.h
(and neither can I--it doesn't seem to exist).

Is this file supposed to be created on the fly? If so, how can we ensure
that it does so?

Thanks so much,
Jaime

On Thu, 8 Dec 2005, Ed Hill wrote:

> On Thu, 2005-12-08 at 10:01 -0500, Jaime Palter wrote:
> > Hello.  I have written before about storing the output as netcdf.  I have
> > come back to the problem after working on a separate project for a while.
> >
> > I have enabled the mnc in packages.conf and this step seems to be working.
> > My question is:
> >
> > Where does genmake look to find mnc and the local version of the netcdf
> > libraries?  Where is this specified?
>
> Hi Jamie,
>
> The genmake2 utility "looks for netCDF" in the sense that it will try to
> compile some very basic test-programs that contain netCDF calls using
> the compiler that you specify in your optfile.  If the compilation of
> those test-program(s) succeeds, then its likely that you have a
> "working" version of the netCDF library installed for the particular
> compiler.
>
> So, the procedure of specifying "where to look" boils down to getting
> the right INCLUDES and LIBS paths set for your compiler.  Please look at
> the optfiles in the directory:
>
>   MITgcm/tools/build_options
>
> to see a number of examples.  And please feel free to create a custom
> optfile and add INCLUDES/LIBS as necessary for your setup (eg. netCDF
> install location).
>
> And if you need help getting netCDF itself installed for your compilers,
> please contact your local system admin(s), the netCDF web pages:
>
>   http://www.unidata.ucar.edu/software/netcdf/
>
> or, if all else fails, contact us and we might be able to help.
>
> Ed
>
> --
> Edward H. Hill III, PhD
> office:  MIT Dept. of EAPS;  Rm 54-1424;  77 Massachusetts Ave.
>              Cambridge, MA 02139-4307
> emails:  eh3 at mit.edu                ed at eh3.com
> URLs:    http://web.mit.edu/eh3/    http://eh3.com/
> phone:   617-253-0098
> fax:     617-253-4464
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
>

************************************
Jaime Palter
Box 90227
Duke University
Nicholas School of the Environment
Division of Earth and Ocean Sciences
Durham, NC 27708
************************************




More information about the MITgcm-support mailing list