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

Running Paraview parallel

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 16, 2012, 10:06
Default Running Paraview parallel
  #1
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Augsburg (Bavaria, Germany) Leoben (Styria, Austria)
Posts: 845
Rep Power: 17
Tobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi all,

i am using paraview for 2 years now and I wanna use my 6 cores for the rendering now. For that I have to compile ParaView like the introduction given here:

http://paraview.org/Wiki/ParaView:Build_And_Install

I installed all Prerequisites but when i wanna configure my paraview settings with ccmake and switch on "use MPI" and set the MPI_LIBRARY path I ll get these messages:

Code:
Could not find the required MPI libraries

 CMake Error: The following variables are used in this project, but they are
 set to NOTFOUND.
 Please set them or make sure they are set and tested correctly in the CMake
 files:
 MPI_EXTRA_LIBRARY
     linked by target "IceTMPI" in directory
 /home/shorty/OpenFOAM/ParaView-3.14.1-Source/Utilities/IceT/src/communication
 MPI_LIBRARY
     linked by target "VPIC" in directory
 /home/shorty/OpenFOAM/ParaView-3.14.1-Source/VTK/Utilities/VPIC
     linked by target "Cosmo" in directory
 /home/shorty/OpenFOAM/ParaView-3.14.1-Source/VTK/Utilities/Cosmo
     linked by target "Xdmf" in directory
 /home/shorty/OpenFOAM/ParaView-3.14.1-Source/Utilities/Xdmf2/libsrc
I installed openMPI with
[code]
./configure --prefix=/home/shorty/OpenFOAM/openMPI
make
make install
[/make]

After that I get the libs in that folder under "libs/" there is for example the file libmpi.so ect...

well I do not understand why I can t fix that problem!
Do someone know that problem? Or I am doing sth. wrong?

Thanks in advance
Tobi


Tobi is offline   Reply With Quote

Old   June 16, 2012, 17:38
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 6,981
Blog Entries: 32
Rep Power: 68
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Hi Tobi,

I haven't been doing any big builds of ParaView lately, but I've written a lot on this subject, which is mostly accessible from here: Related issues to ParaView with OpenFOAM - Fixes and solutions

You'll find instructions on how to get ParaView 3.12.0 with everything on it for OpenFOAM consumption here: ParaView 3.12.0 SuperBuild on OpenFOAM - Well, not everything on it, but all of the default stuff that is officially installed in the builds provided at http://www.paraview.org

Additionally, on that blog post about the SuperBuild, it should be possible to use 3.14.1 instead of 3.12.0; for the modified source code for 3.14.1, visit this project: https://code.google.com/p/unofficial...ew-dev-install - but remember: you should still use the folder name for 3.12.0 on disk, just so you don't need to change anything on OpenFOAM settings files

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   June 16, 2012, 19:05
Default
  #3
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Augsburg (Bavaria, Germany) Leoben (Styria, Austria)
Posts: 845
Rep Power: 17
Tobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by wyldckat View Post
Hi Tobi,

I haven't been doing any big builds of ParaView lately, but I've written a lot on this subject, which is mostly accessible from here: Related issues to ParaView with OpenFOAM - Fixes and solutions

You'll find instructions on how to get ParaView 3.12.0 with everything on it for OpenFOAM consumption here: ParaView 3.12.0 SuperBuild on OpenFOAM - Well, not everything on it, but all of the default stuff that is officially installed in the builds provided at http://www.paraview.org

Additionally, on that blog post about the SuperBuild, it should be possible to use 3.14.1 instead of 3.12.0; for the modified source code for 3.14.1, visit this project: https://code.google.com/p/unofficial...ew-dev-install - but remember: you should still use the folder name for 3.12.0 on disk, just so you don't need to change anything on OpenFOAM settings files

Best regards,
Bruno
Hi Bruno,

its only you who is answering me
Thanks for that - all the time!

Okay I tryed it with PV3.12 but with the same result.
Build openmpi again into

$HOME/OpenFOAM/openMPI/

-> there are include and lib folders and the files are in it.
Set the path in ccmake to /home/shorty/OpenFOAM/openMPI
/home/shorty/OpenFOAM/openMPI/lib
/home/shorty/OpenFOAM/openMPI/lib/
/home/shorty/OpenFOAM/openMPI/lib/libmpi.so
.
.
.

but without succsess

While compiling openmpi i get those warnings (maybe thats the problem?)

Code:
vt_mpiwrap.gen.c: In function 'MPI_Register_datarep':
vt_mpiwrap.gen.c:4381:5: warning: '__malloc_hook' is deprecated (declared at /usr/include/malloc.h:176) [-Wdeprecated-declarations]
vt_mpiwrap.gen.c:4381:5: warning: '__realloc_hook' is deprecated (declared at /usr/include/malloc.h:179) [-Wdeprecated-declarations]
vt_mpiwrap.gen.c:4381:5: warning: '__free_hook' is deprecated (declared at /usr/include/malloc.h:173) [-Wdeprecated-declarations]
vt_mpiwrap.gen.c:4391:5: warning: '__malloc_hook' is deprecated (declared at /usr/include/malloc.h:176) [-Wdeprecated-declarations]
vt_mpiwrap.gen.c:4391:5: warning: '__realloc_hook' is deprecated (declared at /usr/include/malloc.h:179) [-Wdeprecated-declarations]
vt_mpiwrap.gen.c:4391:5: warning: '__free_hook' is deprecated (declared at /usr/include/malloc.h:173) [-Wdeprecated-declarations]
I ll have a look at your links tomorrow - i am too tierd now!

Wow Bruno, thats the truth! THANKS TO YOU - ALL THE TIMES!


Tobi
Tobi 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
OF 2.0.1 parallel running problems moser_r OpenFOAM Running, Solving & CFD 7 March 18, 2014 09:49
running OpenFoam in parallel vishwa OpenFOAM 20 November 7, 2012 15:33
parallel running - error while loading shared libraries: seami OpenFOAM Installation 1 December 9, 2011 04:39
Issue with running in parallel on multiple nodes daveatstyacht OpenFOAM 7 August 31, 2010 17:16
how to make parallel running? decomposePar. panda60 OpenFOAM 1 October 29, 2009 03:43


All times are GMT -4. The time now is 19:12.