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.be...@legi.grenoble-inp.fr>
Date: Tuesday, July 25, 2017 at 5:45 PM
To: Mariam <mbahame...@gmail.com>, <paraview@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.be...@grenoble-inp.fr |
|  LEGI                    |                                      |
|  BP 53 X                 | Tel 04 76 82 51 35                   |
|  38041 GRENOBLE CEDEX    | Fax 04 76 82 52 71                   |
===================================================================

_______________________________________________
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

Reply via email to