wrong type in createf.c ?

Rob Ross rross at mcs.anl.gov
Sun Nov 12 07:57:00 CST 2006


Hi Patrick,

We all make mistakes! Thanks for getting back to us :).

Rob

joeckel at mpch-mainz.mpg.de wrote:
> 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