Re: [OMPI devel] portability problem in ompi_info

2006-09-17 Thread Brian Barrett
I ran into a situation (I don't remember the exact details, unfortunately), where the C compiler supports asprintf() but the C++ compiler doesn't. I believe this came up when I was compiling with gcc (C) and xlC (C++). But it might have been another set of compilers -- I unfortunately don

Re: [OMPI devel] portability problem in ompi_info

2006-09-12 Thread Jeff Squyres
We actually have a portable version of asprintf() in the OMPI code base. On platforms that don't support asprintf(), the configure magically swaps in the OMPI equivalent. See opal/util/printf.c. On 9/12/06 6:07 AM, "Christian Siebert" wrote: > Hi again, > > there is a tiny portability proble