Combine of NetCDF-c 4.3.2 &-f 4.4.1 win32 version

netcdf-c 4.3.2 version (downloaded from unidata: http://www.unidata.ucar.edu/software/netcdf/docs/winbin.html)
netcdf-fortran 4.4.1 version (compiled by IVF2013 and vs2010)

Prebuilt Win7+IVF2013 32bit, 
Nov. 10, 2014, Dr. YAN Haoming
Update on Dec. 2, 2014
Download page: http://www.whigg.cn/yanhm/fortran.htm
email:wfllib@gmail.com

Dec. 2, 2014
Resoloved error link problem for the below know problem. But next 7 functions named "nf_create_par, nf_open_par, 
   nf_var_par_access, nf_inq_varids, nf_inq_dimids, nf_inser_araay_compound, and nf_inq_compound_field" can not 
   be used due to no prebuilt c netcdf.lib. Corresponding 7 nf90 functions can not be used too.

Known problem (resolved after Dec 2, 2014):
Due to pre-built netcdf-c 4.3.2 dll do not include parallel functions in netcdf.dll, thus the parallel I/O functions
can not be used in Fortran version too. If you use these parallel I/O functions, there will be link errors such as:

netcdff.LIB(nf_nc4.obj) : error LNK2019: unresolved external symbol _nc_create_p
ar_fortran referenced in function _NF_CREATE_PAR
netcdff.LIB(nf_nc4.obj) : error LNK2019: unresolved external symbol _nc_open_par
_fortran referenced in function _NF_OPEN_PAR
netcdff.LIB(nf_nc4.obj) : error LNK2019: unresolved external symbol _nc_var_par_
access referenced in function _NF_VAR_PAR_ACCESS
netcdff.LIB(nf_nc4.obj) : error LNK2019: unresolved external symbol _nc_inq_vari
ds_f referenced in function _NF_INQ_VARIDS
netcdff.LIB(nf_nc4.obj) : error LNK2019: unresolved external symbol _nc_inq_dimi
ds_f referenced in function _NF_INQ_DIMIDS
netcdff.LIB(nf_nc4.obj) : error LNK2019: unresolved external symbol _nc_insert_a
rray_compound_f referenced in function _NF_INSERT_ARRAY_COMPOUND
netcdff.LIB(nf_nc4.obj) : error LNK2019: unresolved external symbol _nc_inq_comp
ound_field_f referenced in function _NF_INQ_COMPOUND_FIELD
***.exe : fatal error LNK1120: 7 unresolved externals


Using pre-built binaries in IVF2013
i) set correct include and lib search path in IVF2013 (e.g. c:\netcdf\include; c:\netcdf\lib)
ii)copy *.dll in the bin directory to the system directory (e.g. c:\ C:\Windows\System32\) or set the netcdf bin directory as the window path

To use f77 NetCDF routines:
add "use netcdf4_f03" in the beginning of your main program

To use f90 NetCDF routines:
add "use netcdf" in the beginning of your main program

if there errors (such as libcmt.lib etc.) when compiling the program, please set:
project properties->Linker->Input->Ignore Specific Library with libcmt.lib
or project properties->Fortran->libraries->Runtime Library with "Multithread", but NOT "Debug Multithreaded(...)"

documents for use f90 NetCDF: http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-f90/

other documents can be find at: http://www.unidata.ucar.edu/software/netcdf/docs/index-413.html



