error in nonblocking.c?
Wei-keng Liao
wkliao at ece.northwestern.edu
Thu Nov 15 13:47:27 CST 2012
You are right. I will add a fortran parameter NF_REQUEST_NULL.
Wei-keng
On Nov 15, 2012, at 1:42 PM, Jim Edwards wrote:
> Ah but there is no fortran definition of NC_REQ_NULL, so it's still an issue.
>
> On Thu, Nov 15, 2012 at 12:37 PM, Jim Edwards <jedwards at ucar.edu> wrote:
> So this program illustrates the problem:
>
> #include <mpi.h>
> #include <stdio.h>
> #include <pnetcdf.h>
>
> int main()
> {
> printf("%d %d\n",MPI_REQUEST_NULL,NC_REQ_NULL);
> }
>
>
> On Cray systems using pgi compiler:
>
> ./a.out
> 738197504 -1
>
> I can try using NC_REQ_NULL instead of MPI_REQUEST_NULL in my program, but I'm afraid that's just going to cause this problem to manifest in a different way.
>
>
>
>
> On Thu, Nov 15, 2012 at 11:34 AM, Jim Edwards <jedwards at ucar.edu> wrote:
> On Cray systems the MPI constant MPI_REQUEST_NULL resolves to 738197504
> but passing this value into nonblocking.c results in an error:
>
> Error: no such request ID = 738197504
>
>
> I think that this is an error in parallel-netcdf ncmpii_wait.
>
> On the ibm aix system MPI_REQUEST_NULL resolves to -1 and nonblocking.c seems to handle it correctly.
>
>
> --
> Jim Edwards
>
> CESM Software Engineering Group
> National Center for Atmospheric Research
> Boulder, CO
> 303-497-1842
>
>
>
>
> --
> Jim Edwards
>
> CESM Software Engineering Group
> National Center for Atmospheric Research
> Boulder, CO
> 303-497-1842
>
>
>
>
> --
> Jim Edwards
>
> CESM Software Engineering Group
> National Center for Atmospheric Research
> Boulder, CO
> 303-497-1842
>
More information about the parallel-netcdf
mailing list