[Paraview-developers] [EXTERNAL] Re: BUG?: Where can I get "mpirun" other than the folder of a released ParaView?

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Feb 13 14:21:12 EST 2012


Great. So I'm considering this one resolved unless I hear otherwise.

Utkarsh

On Mon, Feb 13, 2012 at 1:11 PM, Scott, W Alan <wascott at sandia.gov> wrote:
> Utkarsh,
> I also just tried the GUI remote server connect, and it works properly once again.  This includes finding the local host.  I am using the three patches you advertise - 0001, 0002, and 0003.  Thanks as always!
>
> Alan
>
> -----Original Message-----
> From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com]
> Sent: Saturday, February 11, 2012 6:17 PM
> To: Biddiscombe, John A.
> Cc: Scott, W Alan; ParaView Developers
> Subject: Re: [EXTERNAL] Re: [Paraview-developers] BUG?: Where can I get "mpirun" other than the folder of a released ParaView?
>
> John,
>
> I think I've tracked down the root cause -- in reverse connect, the server was launched before the client opened up the listening port.
> Can you give the attached patch(es) a try? I'm including all the patches for completeness. The changes are on ParaView git stage in branch "fix_server_connection_issues".
>
> Thanks a bunch,
> Utkarsh
>
> On Sat, Feb 11, 2012 at 11:05 AM, Biddiscombe, John A. <biddisco at cscs.ch> wrote:
>> Utkarsh
>>
>> On windows, normal client server startup works. Very good.
>> Launching a reverse connection from the GUI doesn't.
>>
>> Manual reverse connection works fine. So 2/3 ok.
>>
>> I haven't tested linux yet, but I have some faith in you :)
>>
>> (Stereo Capable dialog still pops up. I guess I should just comment out the warning in the renderwindow class).
>>
>> JB
>>
>>
>> -----Original Message-----
>> From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com]
>> Sent: 11 February 2012 05:22
>> To: Scott, W Alan
>> Cc: Biddiscombe, John A.; ParaView Developers
>> Subject: Re: [EXTERNAL] Re: [Paraview-developers] BUG?: Where can I get "mpirun" other than the folder of a released ParaView?
>>
>> John/Alan,
>>
>> Here's another patch. I think I've addressed most of the issues that I could reproduce on my Windows machine. My mpiexec kept on failing, however. I'm not sure if my openmpi version was causing the issues or something else. So I'd appreciate if you could test it out. (I verified on Mac that the launching is working fine with MPI/forward/reverse).
>>
>> Alan, the missing PV_CLIENT_HOST is back.
>>
>> Thanks,
>> Utkarsh
>>
>> On Fri, Feb 10, 2012 at 9:33 PM, Utkarsh Ayachit <utkarsh.ayachit at kitware.com> wrote:
>>> I'm working on it.
>>>
>>> Utkarsh
>>>
>>> On Fri, Feb 10, 2012 at 8:27 PM, Scott, W Alan <wascott at sandia.gov> wrote:
>>>> John/Utkarsh,
>>>> I also want to thank you (John) for finding that GUI client/server doesn't work!!  Because I build master so much, I always do so Linux - and then do a "manual "  (script based) connection.  When I tried testing the GUI connect, it also fails.  (This is Linux GUI, redsky cluster).
>>>>
>>>> My error on the client side says: " Server launched aborted before attempting to connect to it."
>>>>
>>>> I tried installing the patch that Utkarsh gives with this e-mail, and it seems to fix the issue listed above.  However, the server side then fails.  Looking at the new output for the connect that Utkarsh puts out, I get the following:
>>>>
>>>> Server launch command is : /usr/bin/xterm -e ssh redsky
>>>> /..../bin/paraview_redsky_mesa_3.14.0_go 1 PV_CLIENT_HOST 60
>>>> FY127407
>>>> --connect-id=15873140
>>>>
>>>> Note that PV_CLIENT_HOST is a special word in ParaView 3.12.0.  It has been removed in 3.14.0, and needs to be restored.  Manually hacking the default_servers.pvsc  file to manually define this PV_CLIENT_HOST variable works correctly. The old code is in pqCommandServerStartup.cxx and uses a call to localHostName().
>>>>
>>>> Alan
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: paraview-developers-bounces at paraview.org
>>>> [mailto:paraview-developers-bounces at paraview.org] On Behalf Of
>>>> Utkarsh Ayachit
>>>> Sent: Friday, February 10, 2012 11:32 AM
>>>> To: Biddiscombe, John A.
>>>> Cc: ParaView Developers
>>>> Subject: [EXTERNAL] Re: [Paraview-developers] BUG?: Where can I get "mpirun" other than the folder of a released ParaView?
>>>>
>>>> Utkarsh
>>>>
>>>>> Alternatively, I can add a new xml attribute that says that the
>>>>> script blocks or doesn't. That was if the script is supposed to
>>>>> block and the launch indeed fails,
>>>>
>>>> I think I have a better fix. If the script exists with error code then we assume that launch failed, if the script exists without error code then we assume the server has launched and attempt to connect to it.
>>>> Does that sound good? That way no one has to change any existing
>>>> pvsc files. (patch attached)/
>>>>
>>>>> But this has now gone, so I add a terminal window to paraview so that I can see the results. It'd be quite nice to have a tag to say "Send launch commands/output to output console" as well so that it was easier to see stuff.
>>>>
>>>> I've found that it's easier if the pvsc file uses a platform specific terminal like xterm or cmd to launch the script. That way things like entering passwords or such other things can also work seamlessly.
>>>> I've used elaborate scripts in the past (inspired by Burlen's scripts) that make it possible for the user to check jobs status among other things in this terminal window directly.
>>>>
>>>>> Attached patch: No. It doesn't work, I tried standard mpiexec with forward connect, also reverse. Both failed. Forward is just a lock-up --pvservers do start, but connection is not made. Reverse shows the error msg dialog I posted earlier. Thanks for trying.
>>>>
>>>> I'll keep working on it.
>>>>
>>>> Utkarsh
>>>>
>


More information about the Paraview-developers mailing list