CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [foam-extend.org] Paraview with MPI Support (https://www.cfd-online.com/Forums/openfoam-installation/167258-paraview-mpi-support.html)

DavidCrossland February 26, 2016 05:56

Paraview with MPI Support
 
Hi i dont know if this is the right place for help with OpenFoam-Ext, however here's hoping.

I have successfully build OpenFoam Ext 3.2, including the Third Party applications. I tried running Paraview in parallel using the command

mpirun -env I_MPI_DEBUG 5 -ppn 8 -n 16 -hosts node0,node1 -env I_MPI_FABRICS=shm:dapl -env I_MPI_DAPL_PROVIDER=ofa-v2-ib0 -env I_M
PI_DYNAMIC_CONNECTION=0 pvserver -display :0.0

However, i get the following output from my torque job that i use to submit the above

Connection URL: cs://node0:11111
Exiting...
Waiting for client...
Connection URL: cs://node0:11111
Exiting...
...........

(slightly cut down, but 1 instance succeeds on each node, all other instances fail)

So after a bit of research i find i need to explicitly enable MPI support.

I hope i affected the correct files, i found two spec files that related to Paraview

ParaView-4.3.1_Server.spec
ParaView-4.3.1.spec

in both files i have set _withMPI to true

%{!?_withMPI: %define _withMPI true}

and rebuild paraview (after running ./Allclean.stage4)

I still have the same problem where multiple instances of paraview are started but only one succeeds.

(tbh i barely know what im doing in this space, its not my area of expertise, and the client seem unable to build it themselves.)

Have i affected the right file? pvserver -V returns

paraview version 4.3.1

Is there any other files i need to affect?

Thanks in advance

DavidCrossland February 29, 2016 04:33

Can anyone help with this? im at a loss..

If you need more information please let me know, if there is anywhere better suited to asking this question that information would also be useful

thanks


All times are GMT -4. The time now is 23:22.