[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #AJQ-779035]: forgot to attach files



> Thank you Ed,
> 
> I think you may have hit the nail on  the head with that one. I think
> that the gfortran version is not tested. I am in the process of
> trying to get a more reasonable version.
> 
> thanks,
> 
> Mike

Howdy Mike!

I just re-read your email and I'm finally cluing in on the fact that gfortran 
4.3 worked for you with -DpgiFortran. That's good!

The inability to find the include file is a different problem. If the netCDF 
make check succeeded, the gfortran 4.3 works fine with netCDF, because the 
netCDF tests use the fortran 77 api extensively.

So you can stick to the fortran version you have, and try to monkey with the -I 
options to your compiler. One of the -I options must point to a directory which 
includes netcdf.inc.

You might also wish to grab the latest release of netCDF, 3.6.2, but I don't 
think it will make any difference in the problems you've encountered.

Thanks,

Ed
> 
> On Feb 28, 2007, at 3:24 PM, Unidata netCDF Support wrote:
> 
> >> Hello,
> >>
> >> I sent a message in earlier regarding my inability to get NetCDF
> >> v3.6.1 to configure on my Mac PowerPC G5. I have since used the
> >> CPPFLAGS=-DpgiFortran rather than -Dfc2Fortran and it seems to
> >> configure, make and make check (please see attached files). However,
> >> when try to compile any programs containing netcdf I get the
> >> following error:
> >>
> >> Error: can't open included file '/usr/local/include/netcdf.inc'
> >>
> >> The include files are in /usr/local/include and all appear to have
> >> been generated with libnetcdf.a and _c++.a. Therefore, I am having
> >> trouble understanding the source of this error.
> >>
> >> I am using gfortran 4.3.0
> >>
> >> Any help would be appreciated.
> >>
> >> Mike
> >>
> >
> > Howdy Mike!
> >
> > I note that gfortran 4.3.0 is two versions ahead of the stable
> > release of gfortran, which is 4.1.2.
> >
> > In fact, other than their SVN repository, I can't even find a
> > distribution of gfortran 4.3.0 to try this out on. Did you get
> > gfortran from the SVN repository and build it?
> >
> > I see that another Mac user is also contacting support with a
> > gfortran 4.3 issue. Where are you mac people getting 4.3? You seem
> > to be ahead of the crowd!
> >
> > I test on a mac with a 4.0.3 version of gfortran. I believe that,
> > last time I tried, that was the most advanced version I could get
> > to build there. NetCDF does work fine with 4.0.3 on the Mac, and
> > with 4.1.2 on other platforms.
> >
> > Can you try an earlier version of gfortran?
> >
> > Thanks,
> >
> > Ed
> >
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: AJQ-779035
> > Department: Support netCDF
> > Priority: Critical
> > Status: Open
> >
> >
> 
> ------------------------------------------------------------------------
> ------------
> Michael T. Coe
> Associate Scientist
> The Woods Hole Research Center
> 149 Woods Hole Rd
> Falmouth, MA 02540-1644
> address@hidden (email) -- www.whrc.org (web)
> 508-540-9900 (phone)
> 508-540-9904 ext. 136 (to bypass operator)
> 508-540-9700 (fax)
> ------------------------------------------------------------------------
> ------------
> 
> 
> 
> 


Ticket Details
===================
Ticket ID: AJQ-779035
Department: Support netCDF
Priority: Critical
Status: Open