Kitware / cumulus

A REST API for creating and using cloud clusters
Apache License 2.0
27 stars 9 forks source link

Convert ParaView taskflow to use pvserver and MPI #270

Closed cjh1 closed 8 years ago

cjh1 commented 8 years ago

Here is the submission script that we used in the past for pvserver and the corresponding pvpython script they will be a little out of date but are a start.

There is some strange handshaking in order to pass the rc port via a file between the two scripts, if you can think of a better strategy that would be great.

jourdain commented 8 years ago

If Utkarsh (or someone else) fix the pvbatch interactor initialization issue, then that will be the simpler solution as you would just run something like:

$ mpi pvbatch pv_web_visualizer.py

cjh1 commented 8 years ago

How does that solution work?

jourdain commented 8 years ago

pvbatch as opposed to pvpython handle internally the mpi process distribution. Basically any process != 0 will act like a pvserver satellite process. While the root node will act as both the root node of pvserver and the client.

jourdain commented 8 years ago

pvpython can only be a client process, so if you were running it with mpi, you will multiply the clients, which doesn't work.

You can see pvbatch as a (pvserver+client).

chetnieter commented 8 years ago

So I just noticed that this issue is for cumulus but the current paraview taskflow lives in HPCCloud. Does this mean that we want to move the paraview taskflow to cumulus to make it available to other projects if needed?

cjh1 commented 8 years ago

No, I just raise the issue on the wrong repo. can you move it over?

chetnieter commented 8 years ago

Moved to kitware/hpccloud#502.