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.
Sarah, I don't use Windows development tools, but according to the PGI Visual Fortran description at http://www.pgroup.com/products/pvf.htm : ... PVF also automatically manages all build dependencies. PVF is interoperable with Microsoft Visual C++ so Fortran sub-programs can call C functions and vice versa. PVF includes a number of DVF/CVF compatibility features including full support for the Win32 API. I'm afraid I don't know about whether you can use the gcc with a PGI Fortran compiler on Windows, but I know it's possible to make gcc work with gfortran by using the -DpgiFortran flag on the C compiles. That would seem to imply that gfortran uses the same conventions for calling C functions as PGI Fortran uses, so it might work, but I can't find any user reports of success on Windows with that combination. I'm CC:ing our Windows expert, who may have better advice to give ... --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: UWQ-633083 Department: Support netCDF Priority: Normal Status: Closed