Re: [netcdfgroup] nf90_netcdf4, nf90_mpiio, etc. names cannot be found

>From wkliao@xxxxxxxxxxxxxxxxxxxxx Fri May  5 23:17:20 2017
>
>The following command can tell whether netcdf is built with parallel I/O 
>support.
>
>% nm libnetcdf.a | grep nc_use_parallel_enabled
>0000000000002200 T nc_use_parallel_enabled

yes, this is fine:

$ nm /cm/shared/libraries/intel_build/netcdf-4-par/lib/libnetcdf.a| grep 
nc_use_parallel_enabled
0000000000005670 T nc_use_parallel_enabled

However, we are talking about the module file,
not the library file. My errors are on compilation,
because I have "implicit none":

cgca_m2netcdf.f90(157): error #6404: This name does not have a type, and must 
have an explicit type.   [NF90_NETCDF4]
call check( nf90_create(fname, ior(nf90_netcdf4,nf90_mpiio), ncid, &
-----------------------------------^

The definition for this var should be in the module file:

/cm/shared/libraries/intel_build/netcdf-4-par/include/netcdf.mod 

but apparently is missing.

Anton



  • 2017 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: