wrong type in createf.c ?

joeckel at mpch-mainz.mpg.de joeckel at mpch-mainz.mpg.de
Sun Nov 12 07:24:11 CST 2006


Dear parallel-netcdf developers,

there is obviously no bug in createf.c.

In my call sequence

  INTEGER :: nc_cmode
  ...
  nc_cmode = IOR(NF_CLOBBER,NF_64BIT_OFFSET)
  ...
  NFMPI_CREATE( p_all_comm &
            , TRIM(fname), MPI_INFO_NULL &
            , nc_cmode &
            , ncid)

two arguments are just in the wrong order; it must be corrected to

  INTEGER :: nc_cmode
  ...
  nc_cmode = IOR(NF_CLOBBER,NF_64BIT_OFFSET)
  ...
  NFMPI_CREATE( p_all_comm &
            , TRIM(fname) &
            , nc_cmode &
            , MPI_INFO_NULL &
            , ncid)

That was something the compiler could not detect, but it was clearly my fault.
I am sorry for the wrong alert.

Yours,

    Patrick



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the parallel-netcdf mailing list