Hah, my bad. Didn't look at the function name. Will fix.

-Nathan

On Mon, Jun 29, 2015 at 05:31:01PM +0200, Åke Sandgren wrote:
> That's what i said. The code in openmpi checks errno and not errnum.
> 
> On 06/29/2015 05:27 PM, Nathan Hjelm wrote:
> >
> >I see a typo. You are checking errno instead of errnum.
> >
> >-Nathan
> >
> >On Mon, Jun 29, 2015 at 01:28:11PM +0200, Åke Sandgren wrote:
> >>Hi!
> >>
> >>static inline int ompi_mpi_errnum_is_class ( int errnum )
> >>{
> >>     ompi_mpi_errcode_t *err;
> >>
> >>     if (errno < 0) {
> >>         return false;
> >>     }
> >>
> >>I assume it should be errnum < 0.
> >>
> >>--
> >>Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
> >>Internet: a...@hpc2n.umu.se   Phone: +46 90 7866134 Fax: +46 90-580 14
> >>Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se
> >>_______________________________________________
> >>users mailing list
> >>us...@open-mpi.org
> >>Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> >>Link to this post: 
> >>http://www.open-mpi.org/community/lists/users/2015/06/27208.php
> >>
> >>
> >>_______________________________________________
> >>users mailing list
> >>us...@open-mpi.org
> >>Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> >>Link to this post: 
> >>http://www.open-mpi.org/community/lists/users/2015/06/27212.php
> 
> -- 
> Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
> Internet: a...@hpc2n.umu.se   Phone: +46 90 7866134 Fax: +46 90-580 14
> Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2015/06/27213.php

Attachment: pgpuIrp2zSqai.pgp
Description: PGP signature

Reply via email to