Re: [OMPI users] stdout/stderr question

2018-09-04 Thread Gilles Gouaillardet
Open MPI should likely write this message on stderr, I will have a look at that. That being said, and though I have no intention to dodge the question, this case should not happen. A well written (MPI) program should either exit(0) or have main() return 0, so this scenario (e.g. all MPI t

Re: [OMPI users] stdout/stderr question

2018-09-04 Thread emre brookes
emre brookes wrote: George Reeke wrote: On Tue, 2018-09-04 at 16:08 -0500, emre brookes wrote: Is there some setting to turn off the extra messages generated by openmpi ? -- which strangely goes to stdout and not stderr. I would intuitively expect error or notice messages to go to std

Re: [OMPI users] Are MPI datatypes guaranteed to be compile-time constants?

2018-09-04 Thread David L. Braun
David L. BraunThe Brooks Research Group (734) 615-1450 Original message From: Reuti Date: 9/4/18 6:31 PM (GMT-05:00) To: Open MPI Users Subject: Re: [OMPI users] Are MPI datatypes guaranteed to be compile-time   constants? Hi, Am 04.09.2018 um 23:22 schrieb Benjamin Br

Re: [OMPI users] stdout/stderr question

2018-09-04 Thread emre brookes
George Reeke wrote: On Tue, 2018-09-04 at 16:08 -0500, emre brookes wrote: Is there some setting to turn off the extra messages generated by openmpi ? -- which strangely goes to stdout and not stderr. I would intuitively expect error or notice messages to go to stderr. Is there a way t

Re: [OMPI users] Are MPI datatypes guaranteed to be compile-time constants?

2018-09-04 Thread Reuti
Hi, Am 04.09.2018 um 23:22 schrieb Benjamin Brock: > Are MPI datatypes like MPI_INT and MPI_CHAR guaranteed to be compile-time > constants? Is this defined by the MPI standard, or in the Open MPI > implementation? > > I've written some template code where MPI datatypes are constexpr members,

Re: [OMPI users] Are MPI datatypes guaranteed to be compile-time constants?

2018-09-04 Thread Jeff Squyres (jsquyres) via users
On Sep 4, 2018, at 5:22 PM, Benjamin Brock wrote: > > Are MPI datatypes like MPI_INT and MPI_CHAR guaranteed to be compile-time > constants? No. They are guaranteed to be link-time constants. > Is this defined by the MPI standard, or in the Open MPI implementation? MPI standard: https://w

Re: [OMPI users] stdout/stderr question

2018-09-04 Thread George Reeke
On Tue, 2018-09-04 at 16:08 -0500, emre brookes wrote: > Is there some setting to turn off the extra messages generated by openmpi ? -- > which strangely goes to stdout and not stderr. > I would intuitively expect error or notice messages to go to stderr. > Is there a way to redirect these

[OMPI users] Are MPI datatypes guaranteed to be compile-time constants?

2018-09-04 Thread Benjamin Brock
Are MPI datatypes like MPI_INT and MPI_CHAR guaranteed to be compile-time constants? Is this defined by the MPI standard, or in the Open MPI implementation? I've written some template code where MPI datatypes are constexpr members, which requires that they be known at compile time. This works in

[OMPI users] stdout/stderr question

2018-09-04 Thread emre brookes
Background: --- Running on ubuntu 16.04 with apt install openmpi-bin libopenmpi-dev $ mpirun --version mpirun (Open MPI) 1.10.2 I did search thru the docs a bit (ok, maybe I missed something obvious, my apologies if so) --- Question: Is there some setting to turn off the extra messages genera