[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #XOU-657119]: Need help for reading NetCDF file about the "netcdf.mod",thank you!
- Subject: [netCDF #XOU-657119]: Need help for reading NetCDF file about the "netcdf.mod",thank you!
- Date: Wed, 23 May 2007 09:37:47 -0600
Hi,
Although we have not succeeded in porting and testing the netCDF Fortran-90
interface to Windows (just the Fortran-77 interface), there are reports that
these steps work:
1. Download netcdf source from
ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf.tar.gz and unpack somewhere
convenient
2. Create new Fortran Static Library project in Compaq Visual Fortran (use a
name like netcdf_f90)
3. Import only netcdf.f90 and typeSizes.f90 into the new project
4. Set the active configuration to 'Release' (Build -> Active Configuration
-> Win 32 Release)
5. Build the project
6. From the 'Release' directory (in the project directory), retrieve the
netcdf.mod and netcdf_f90.lib files. Note that they have different names.
7. Move the .mod and .lib files from the build, and also those from the
precompiled NetCDF archive into locations in your INCLUDE and LIB search paths.
Possible locations for this are C:\Program Files\Microsoft Visual
Studio\VC98\INCLUDE and C:\Program Files\Microsoft Visual Studio\VC98\LIB,
respectively
The steps above appear here:
http://wiki.nesc.ac.uk/read/glimmer-project?InstallWindows
Please note that the question mark characters "?" that appear on the web page
above are just an artifact of the wiki technology used to create the web page,
and should not be included in the procedure.
If this helps, please let us know. Thanks!
--Russ
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: XOU-657119
Department: Support netCDF
Priority: Normal
Status: Closed