Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

From: Brian Barrett (bbarrett_at_[hidden])
Date: 2007-02-26 17:31:41

On Feb 26, 2007, at 1:54 PM, Bert Wesarg wrote:

> I can only speak for a 3 year old linux system but I read evenly
> the wiki
> page and I
> wonder if
> someone tried this code. On my system the PRId32 is defined as "d" for
> example. so to use this you need to write something like this:
> printf("foo: %" PRIu32 ", bar: %ld\n", foo, bar);
> ^
> note this extra '%'.
> on the other hand printf have an extra length specifier for size_t,
> its
> 'z', so a minimal size_t printf conversion is "%zu".

Thanks, I've fixed the PRI usage case. Unfortunately, %zu isn't
recognized by some versions of printf, so we can't use it in Open MPI.

> BTW: are there any plans to provide mpi datatypes for these
> stdint.h types
> like {,u}int{8,16,32,64,max,ptr}_t?

Not at this time.