|
[Sponsors] |
[OpenFOAM] Problem on multicore in running paraview |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 15, 2019, 01:19 |
Problem on multicore in running paraview
|
#1 |
Member
Join Date: Aug 2018
Posts: 47
Rep Power: 8 |
Hi, everyone. I am looking for some guidelines to run paraview in parallel using multi cores in my 6-core laptop.
I am using Windows 10 with ubuntu linux as a subsystem, together with Xming as a X server. I installed OpenFOAM v6 in my laptop. I tried the following steps but failed to run paraview in parallel: 1. in paraview, tick the box "enable auto MPI" and set the Auto MPILimit to 2. 2. in ubuntu terminal, type "mpirun -np 2 pvserver", and it shows "waiting for client... connecting URL ... Accepting connection(s)...." 3. in paraview, add a server (server type: client/server, host: localhost, port 11111, startup type: manual) and connect to the server 4. in ubuntu terminal, it shows "Client connected". 5. in paraview, load openfoam results via opening a file named foam.foam It appears everything is fine. But, when i click "About" in paraview, it indicates only 1 number of processes. Anyone knows why?? |
|
March 18, 2019, 06:23 |
|
#2 |
Senior Member
|
Hi,
AFAIR to have parallel visualisation of OpenFOAM(R) case with ParaView, the case should be decomposed (into as many subdomains as the number of cores you plan to use for visualisation). |
|
April 22, 2019, 23:55 |
|
#3 |
Member
Join Date: Aug 2018
Posts: 47
Rep Power: 8 |
Thanks, alexeym.
I have tried again but without success. I successfully run a decomposed case with 6 sub-domains, and i can visualize the results in paraview. But, when i change to server mode in paraview using the steps in my previous post (except the first step i set the MPILimit to 6 and the second step i type "mpirun -np 6 pvserver". Again, the "About" in paraview indicates only 1 number of processes. Any expert can give some advice? |
|
April 23, 2019, 05:37 |
|
#4 |
Senior Member
|
Hi,
Guess, there is a need for more context. Tested right now the following steps with ParaView 5.6.0 from paraview.org: 1. Started pvserver with this command: Code:
mpiexec -np 4 pvserver --mpi 3. Connected to the server. About -> Connection Information -> Number of Processes shows 4. Though, I have tested it on Linux, maybe on Windows there are additional steps to perform. |
|
April 23, 2019, 13:33 |
|
#5 |
Member
Join Date: Aug 2018
Posts: 47
Rep Power: 8 |
i typed your command in the terminal but it fails. It prints out "Got unknown argument: --mpi".
any hints what i can do? |
|
April 23, 2019, 16:57 |
|
#6 |
Senior Member
|
Well, I think it would be quite reasonable to check if your ParaView version is MPI-capable. What paraview package did you install on Ubuntu?
Unfortunately I was not able to find command line argument to show pvserver capabilities, but my 'pvserver --help' returns the following (this time on macOS but Linux version returns the same): Code:
$ /Applications/ParaView-5.6.0.app/Contents/bin/pvserver --help ... --mpi Initialize MPI on processes, if possible. Cannot be used with --no-mpi. ... --no-mpi Don't initialize MPI on processes. Cannot be used with --mpi. ... |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Problem opening paraview (remote) | alexvaleije | ParaView | 0 | June 23, 2016 13:03 |
LINUX newbie with paraView installation problem | kenya0514 | OpenFOAM Installation | 4 | January 16, 2013 18:51 |
[General] Problem in using paraview | meballav | ParaView | 11 | October 12, 2012 17:03 |
Installation Problem with ParaView 3.12.0 on Scientific Linux 5.7 | Wley | OpenFOAM Installation | 2 | September 28, 2012 07:06 |
paraFoam running problem | Aleksey_R | OpenFOAM | 2 | November 27, 2009 19:18 |