CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ParaView

Running ParaView on multiple cores

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   December 2, 2013, 06:44
Default Running ParaView on multiple cores
  #1
Senior Member
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 1,098
Rep Power: 19
flotus1 will become famous soon enoughflotus1 will become famous soon enough
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
flotus1 likes this.
wyldckat is offline   Reply With Quote

Old   December 9, 2013, 03:47
Default
  #3
Senior Member
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 1,098
Rep Power: 19
flotus1 will become famous soon enoughflotus1 will become famous soon enough
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
Senior Member
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 1,098
Rep Power: 19
flotus1 will become famous soon enoughflotus1 will become famous soon enough
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: 42
Rep Power: 6
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
Senior Member
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 1,098
Rep Power: 19
flotus1 will become famous soon enoughflotus1 will become famous soon enough
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which is better for CFD 4 core i7-2600 or AMD 8 core FX-8150? GregShaffer Hardware 3 May 7, 2015 13:26
Running in parallel on multiple nodes kalyangoparaju OpenFOAM 5 January 18, 2012 12:36
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 08:11
OpenFOAM14 linux64 paraview canbt find libtcl84so and libtk84so hoogland OpenFOAM Installation 5 June 26, 2008 12:38
Both paraview and paraFoam crash on Redhat Linux WS v4 64bit sek OpenFOAM Paraview & paraFoam 4 August 17, 2006 16:26


All times are GMT -4. The time now is 11:26.