Re: NetCDF, Fortran, and Cygwin
- From: Craig Powers <craig.powers@xxxxxxxxxxxxxxx>
- Date: Tue, 22 Jul 2008 09:28:07 -0400
jrsyangl wrote:
I posted previously (7/10/08) about my problems getting NetCDF binaries to work with gfortran. Feedback led me to install Cygwin and try to get NetCDF to work there. There are still problems. I have some tentative ideas about why, and wonder if anyone has any comments.
1) There are no native Windows NetCDF binaries for Fortran 9x, like gfortran;
2) There are no Cygwin NetCDF binaries for 32 bit systems, like my 5 year old Pentium 4.
My options, therefore, are:
a) Try to get a (free) f77 compiler (f2c?);
b) Build a 32 bit NetCDF under Cygwin myself (gulp);
c) Buy a new 64 bit computer (double gulp).
I have contacted Unidata (NetCDF), but have yet to hear back. I would appreciate feedback,especially about the complexity of option b). I am a Meteorologist, not a computer specialist, and have never built anything.
Building it should be fairly straightforward. The package should have a configure scripts, which in most cases will "do the right thing".
The one potential hangup is fortran/cfortran.h, which is a header file that is intended to automagically address mixed language issues. As of my most recent building of NetCDF (3.6.2), it handled using the Intel compilers seamlessly -- you may be able to build it without needing to make any modifications.
If you run into any issues, I assume you would be building with some version of gfortran, and I would expect that folks either here or on the mailing list could help you resolve them.
.
- References:
- NetCDF, Fortran, and Cygwin
- From: jrsyangl
- NetCDF, Fortran, and Cygwin
- Prev by Date: Re: whole number constants
- Next by Date: F2003 and F2008 in windows' system are only dreams, far from us!
- Previous by thread: Re: NetCDF, Fortran, and Cygwin
- Next by thread: Re: NetCDF, Fortran, and Cygwin
- Index(es):
Relevant Pages
|