Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Printing information on computing nodes.
From: Reuti (reuti_at_[hidden])
Date: 2011-11-14 15:01:08


Am 14.11.2011 um 20:37 schrieb Ralph Castain:

>
> On Nov 14, 2011, at 12:28 PM, Radomir Szewczyk wrote:
>
>> lets say computing node no. 2 is dual core and uses 2 processes, it
>> prints out only the solution for lets say no 2 and 3 processes. kinda
>> if(id == 2 || id == 3) cout << "HW"; the rest ignores this
>> information. That's what I'm talking about. Thanks for your response.
>
> I'm sorry - I honestly cannot understand what you are asking. Simply put, the output of ALL ranks is forwarded to mpirun, which prints the strings to its stdout/err. So whatever screen is running mpirun, that's where ALL the output from ALL ranks will appear.
>
> If you look at "mpirun -h", you will see options for splitting the output by rank into files, tagging the output to make it readily apparent which rank it came from, etc. There is also an option for having each rank open an xterm window on the screen where mpirun resides and putting the output from that rank there.
>
> However, there is NO option for redirecting the output from your MPI processes to anywhere other than the screen where mpirun is executing.

What about writing to a local file (maybe a pipe) and the user has to tail this file on this particular machine?

-- Reuti

>
>>
>> 2011/11/14 Ralph Castain <rhc_at_[hidden]>:
>>>
>>> On Nov 14, 2011, at 12:18 PM, Radomir Szewczyk wrote:
>>>
>>>> So there is no solution? e.g. my 2 computers that are computing nodes
>>>> and are placed in different room on different floors. And the target
>>>> user wants to monitor the progress of computation independently which
>>>> have to be printed on their lcd monitors.
>>>
>>> So...you want stdout/err to be repeated to multiple places? If so, then no - we don't support that, and I don't know anyone who does.
>>>
>>>
>>>>
>>>> 2011/11/14 Reuti <reuti_at_[hidden]>:
>>>>> Hi,
>>>>>
>>>>> Am 14.11.2011 um 19:54 schrieb Radomir Szewczyk:
>>>>>
>>>>>> The problem I'm facing now is how to print information on computing nodes.
>>>>>> E.g. I've got 10 real computers wired into one cluster with pelicanhpc.
>>>>>> I need each one of them to print results independently on their
>>>>>> screens. How To?
>>>>>
>>>>> the stdout will be collected by the MPI library and all goes to the terminal where you started the mpiexec.
>>>>>
>>>>> First you have to decide, what do you mean by "their screens". As MPI is started by an SSH connection or alike, there is nothing where it can be output at the first place. They even maybe operated headless.
>>>>>
>>>>> Otherwise: is there X11 running on all the nodes, or would it help to write something to the local virtual console like /dev/vcs7 or /dev/console in a text based session?
>>>>>
>>>>> -- Reuti
>>>>>
>>>>>
>>>>>> It may be an easy task, but I'm new to this and didn't find proper info.
>>>>>> Cheers
>>>>>> Radomir Szewczyk
>>>>>> _______________________________________________
>>>>>> users mailing list
>>>>>> users_at_[hidden]
>>>>>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> users mailing list
>>>>> users_at_[hidden]
>>>>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>>>>
>>>>
>>>> _______________________________________________
>>>> users mailing list
>>>> users_at_[hidden]
>>>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>>
>>>
>>> _______________________________________________
>>> users mailing list
>>> users_at_[hidden]
>>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>>
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users