[Paraview] MPI on multiple nodes

Mariam Bahameish mbahameish at gmail.com
Thu Jul 27 03:18:58 EDT 2017


Yesterday, I tried the syntax you provided me, but it didn't work.
So I am thinking if there is anything that I should preconfigure.

Are you using it with reverse connection?

Thanks,
Sent from my iPhone

> On Jul 27, 2017, at 8:07 AM, Patrick Begou <Patrick.Begou at legi.grenoble-inp.fr> wrote:
> 
> I'm sorry but the syntax you want to use doesn't work on my servers. So I cannot help.
> With the one I suggest I'm running 360 pvserver processes this morning to visualize a large dataset on a cluster. May be you should try it.
> 
> Patrick
> 
> Mariam wrote:
>> 
>> Thanks for your reply.
>> The correct syntax to run on multiple hosts is: mpiexec –hosts N localhost M remotehost 1 appName
>> I tested with hostname and it worked; it printed the expected output.
>>  
>> However, by executing the same command with pvserver, it does not work. I ensured the location of paraview/pvserver is the same across both hosts. And I am providing the full path of pvserver.
>>  
>> I would like to make sure that I understood the concept correctly:
>> From host1, if I executed parallel pvservers with MPI (host1, host2, hostN), the clients should connect to host1.
>>  
>> Can you please confirm?
>>  
>> From: Patrick Begou <Patrick.Begou at legi.grenoble-inp.fr>
>> Date: Tuesday, July 25, 2017 at 5:45 PM
>> To: Mariam <mbahameish at gmail.com>, <paraview at paraview.org>
>> Subject: Re: [Paraview] MPI on multiple nodes
>>  
>> I think the syntax for mpiexec is:
>> 
>> mpiexec -np 8 --host host_one,host_two pvserver
>> 
>> This would launch 4 occurences of pvserver on host_one and 4 on host_two.
>> 
>> 1) first check mpi is running:
>> 
>> mpiexec -np 2 --host host_one,host_two hostname
>> 
>> This should print the name of the 2 hosts.
>> 
>> If it does not works check you can ssh from one host to the other without password.
>> 
>> 2) You need the same paraview/pvserver install on the two hosts in the same location (not imposed but it is easier to launch)
>> 
>> 3) May be use reverse connection from the parallel pvserver to the paraview client when you launch pvserver 
>> 
>> Patrick
>> 
>> 
>> Mariam wrote:
>> Hi,
>> I would like to ask about running pvserver in parallel with MPI on multiple hosts. Is that possible?
>>  
>> The following commands were tested successfully:
>> 1)      Running MPI on localhost:
>> mpiexec –n M localhost pvserver
>> 2)      Running MPI on remotehost:
>> mpiexec –host remotehost –n M pvserver
>>  
>> But I was not able to run: mpiexec –hosts 2 localhost 1 remotehost 1 pvserver
>> I run the following to test MPI on multiple hosts and it worked: mpiexec –hosts 2 localhost 1 remotehost 1 hostname
>>  
>> Is there any pre-configuration that should be done to pvserver? I want the clients to connect to the server (master server), and the jobs are distributed across multiple nodes.
>>  
>> Regards,
>> Mariam
>> 
>> 
>> 
>> _______________________________________________
>> Powered by www.kitware.com
>>  
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>  
>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>>  
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>  
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>> 
>> 
>> 
>> -- 
>> ===================================================================
>> |  Equipe M.O.S.T.         |                                      |
>> |  Patrick BEGOU           | mailto:Patrick.Begou at grenoble-inp.fr |
>> |  LEGI                    |                                      |
>> |  BP 53 X                 | Tel 04 76 82 51 35                   |
>> |  38041 GRENOBLE CEDEX    | Fax 04 76 82 52 71                   |
>> ===================================================================
> 
> 
> -- 
> ===================================================================
> |  Equipe M.O.S.T.         |                                      |
> |  Patrick BEGOU           | mailto:Patrick.Begou at grenoble-inp.fr |
> |  LEGI                    |                                      |
> |  BP 53 X                 | Tel 04 76 82 51 35                   |
> |  38041 GRENOBLE CEDEX    | Fax 04 76 82 52 71                   |
> ===================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170727/630d58b3/attachment.html>


More information about the ParaView mailing list