This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> > Hi: > > > > I am in the process of converting several large meteoroloigcal and air > > quality models from Linux to windows OS. To do this I need to be able > > to use the f77 netcdf libraries properly. I began with the precompiled > > libraries. I immediately ran into problems with both the Lahey and g95 > > compilers. Given the nonstanrds C calling of the Lahey compilers I > > expected problems, but with the MINGW g95 compiler for windows and the > > inherent use of gcc I expected things to go smoothly - they don't. I > > have attached a text file detailing my first attempts. Please give me a > > hand here since I expect that my problem is common depite it not > > showing up in FAQs and their archives. > > > > -Gary Moore (address@hidden) > > > > > > Could I suggest that you start by building netCDF on your target platform, > instead of using the binaries? > > In fact, each fortran compiler uses different calling conventions, so a > binary build will, in general, not work unless it is built for your target > compiler. > > Thanks, > > Ed Howdy Gary! Did you ever resolve these issues? I do know that a Ming build does work, and so does a g95 build, but I have never tried both at once... Thanks, Ed Ticket Details =================== Ticket ID: WGF-743894 Department: Support netCDF Priority: Normal Status: Closed