CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] Running ParaView on multiple cores

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 2, 2013, 06:44
Default Running ParaView on multiple cores
  #1
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
I am unable to run ParaView in parallel on one of our workstations. Running it on a single core works perfectly.

The operating system is OpenSuse 12.3.
The versions of Paraview I tried are 3.98 and 4.1 RC1.
The workstation is a 2-CPU machine with 2 Xeon E5-2687W processors, so it should be able to run applications in parallel.

When I activate the "use multi-core" option and restart PV, I get the following error messages in the command shell:
Code:
AutoMPI: SUCCESS: command is:
 "/usr/Paraview/ParaView-4.1.0-RC1-Linux-64bit/lib/paraview-4.1/mpiexec" "-np" "2" "/usr/Paraview/ParaView-4.1.0-RC1-Linux-64bit/lib/paraview-4.1/pvserver" "--server-port=40062"
AutoMPI: starting process server
-------------- server output --------------
ssh: Could not resolve hostname P-H-287-20LIX.site: Name or service not known
AutoMPI: server never started.
vtkProcessModuleAutoMPIInternals: Server never started.
Generic Warning: In /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/ParaViewCore/ServerManager/Core/vtkSMSession.cxx, line 315
Failed to automatically launch 'pvserver' for multi-core support. Defaulting to local session.
From PV, I get the output message:
Quote:
Generic Warning: In /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/ParaViewCore/ServerManager/Core/vtkSMSession.cxx, line 315
Failed to automatically launch 'pvserver' for multi-core support. Defaulting to local session.
Strange enough, I have no problems running the same versions of PV in parallel on a different workstation operating OpenSuse 11.4.
What can I do to get it running?
flotus1 is offline   Reply With Quote

Old   December 8, 2013, 15:23
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Alex,

Sorry, I was the one that had requested you to ask this here and I didn't manage to look into this sooner.

OK, lets try to diagnose this. My first guess is that your machine in question has got the host name "P-H-287-20LIX.site", but no IP is assigned to that name. To check this, run:
Code:
ping P-H-287-20LIX.site
Use Ctrl+C to abort. To compare with something similar to what you should be seeing, run:
Code:
ping 127.0.0.1
If it does not show a similar output, then the problem is as I guess, where there is no IP address assigned to that host name.
If this is the case, then (as root) edit the file "/etc/hosts" and add this line to the end:
Code:
127.0.0.1 P-H-287-20LIX.site
Save and close the file. Then back as normal user (not as root), try running ParaView once again.

Best regards,
Bruno
Tobi and flotus1 like this.
__________________
wyldckat is offline   Reply With Quote

Old   December 9, 2013, 03:47
Default
  #3
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
Hi Bruno, thanks for your reply. I knew you did not forget about this.

Well first of all, your guess was correct. Adding the name of the system to the host list did the trick.
But I have an additional question concerning this issue.
On the other system I mentioned, the entry in /etc/hosts reads
Code:
127.0.0.2 P-H-287-04.LIX.site P-H-287-04.LIX
Obviously, the name of this system is "P-H-287-04.LIX". I was just wondering about the different IP-address here although localhost still has "127.0.0.1"
Sorry if this is more of a linux question, but there are no experts at my university.
flotus1 is offline   Reply With Quote

Old   December 9, 2013, 18:49
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Alex,

Ah, I meant to write about that, but thought that it was too much information

So, the "127.0.0.*" IP addresses are usually all part of the loopback mechanism: http://en.wikipedia.org/wiki/Loopbac....28TCP.2FIP.29

Therefore, you can use any or all values from 1 to 254 for the last number! At least in theory For example, all of these are part of the loopback system:
Code:
127.0.0.1
127.0.0.2
127.0.0.3
...
127.0.0.39
127.0.0.40
127.0.0.41
...
127.0.0.102
127.0.0.103
127.0.0.104
....
127.0.0.253
127.0.0.254
The ellipsis are just so that I wouldn't have the bad idea to write all of the 254 possible addresses

Oh, as for the names to the right of the IP address: I don't know if there is a limit, but you can write there any and all names you want to associate to said IP address, for example:
Code:
127.0.0.5 cookies.com milk.net tea.it home.local out.of.ideas


Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   December 11, 2013, 12:12
Default
  #5
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
Thank you, I really appreciate your help.
flotus1 is offline   Reply With Quote

Old   January 20, 2014, 02:06
Default
  #6
Member
 
luchen
Join Date: Jul 2011
Posts: 44
Rep Power: 15
luchen2408 is on a distinguished road
hello,Alex and wyldckat
I also want to parallel run paraview. I work with a server (24 cores).
I have tried some methods, but it faild.
Can you share me the detail procedures on how to running paraview on multi cores? Thanks.
luchen2408 is offline   Reply With Quote

Old   January 20, 2014, 04:22
Default
  #7
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
It would be better to start a new thread, even if the problem appears to be similar in the first place.
Try again and provide more information.
flotus1 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up Lid driven Cavity Benchmark with 1M cells for multiple cores puneet336 OpenFOAM Running, Solving & CFD 11 April 7, 2019 01:58
[OpenFOAM] Paraview not running my simulation charles4allme ParaView 3 August 4, 2018 13:09
[foam-extend.org] foam-extend-3.1 multiple versions paraview issue CFDpal OpenFOAM Installation 1 May 31, 2018 09:51
How to run OpenFOAM using Shared Memory method on local machine with multiple cores? ronithstanly OpenFOAM Running, Solving & CFD 1 August 4, 2017 01:31
[OpenFOAM] Problem running paraview with xming id.gomez65 ParaView 4 February 6, 2016 21:12


All times are GMT -4. The time now is 07:43.