[MITgcm-support] Re: mnc and netcdf
Jonathan Mitchell
mitch at oddjob.uchicago.edu
Fri Apr 8 11:53:48 EDT 2005
Hi Ed-
Thanks, that seemed to do the trick for the verification run in the
example. I was able to compile and run the Held-Suarez benchmark as
well.
I gave "genmake2" the flag "-enable=mnc", which I think is the netCDF
I/O package. But I'm still getting the other binary file format.
Could you tell me what I'm doing wrong?
Best,
Jonathan
On Apr 8, 2005, at 8:20 AM, Ed Hill wrote:
>
> Hi Jonathan,
>
> I've subscribed you to the MITgcm-support list so any future emails you
> send from your address (the one below) will get through automatically.
>
> In regards to netCDF, it sounds like one of the following is your
> problem:
>
> - the netCDF Fortran interface was not built (whoever built
> it just installed the C interface) or
>
> - it was built and installed but with the wrong name-mangling
> (that is, it was built for a different Fortran compiler so
> the symbol names are not recognizable by your Fortran
> compiler)
>
> To diagnose this problem, please try building a fresh netCDF install in
> your home directory following the directions at:
>
> http://mitgcm.org/mwiki/index.php/NetCDF_Local_Install
> [ ae ehnd http://mitgcm.org/mwiki/index.php/MNC_Package ]
>
> and then modify the MITgcm optfile that you're using
>
> http://mitgcm.org/pelican/online_documents/node139.html
>
> so that it specifies the correct locations
>
> INCLUDES='-I/path/to/your/home/install/netcdf/include'
> LIBS='-L/path/to/your/home/install/netcdf/lib'
>
> for your local netCDF install.
>
> And please let us know what problems you encounter.
>
> Ed
>
>> -------- Forwarded Message --------
>>> From: Jonathan Mitchell <mitch at oddjob.uchicago.edu>
>>> To: MITgcm-support at dev.mitgcm.org
>>> Subject: mnc and netcdf
>>> Date: Thu, 7 Apr 2005 17:06:47 -0500
>>>
>>> Hi- I've been trying without success to use the mnc packages
>>> for outputting NetCDF files. The linker gives me an error
>>> that it doesn't recognize the file format of "/usr/local",
>>> which is where my NetCDF installation resides. Any thoughts?
>>> Thanks, Jonathan Mitchell
>>> ----------------------------------------------
>>> Jonathan Mitchell
>>> Dept. of Astronomy & Astrophysics
>>> University of Chicago
>>> 773.834.2160 (w) 773.702.8212 (fax)
>>> ----------------------------------------------
> --
> 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
>
----------------------------------------------
Jonathan Mitchell
Dept. of Astronomy & Astrophysics
University of Chicago
773.834.2160 (w)
773.702.8212 (fax)
----------------------------------------------
More information about the MITgcm-support
mailing list