CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ParaView (http://www.cfd-online.com/Forums/paraview/)
-   -   Running Paraview parallel (http://www.cfd-online.com/Forums/paraview/103298-running-paraview-parallel.html)

Tobi June 16, 2012 10:06

Running Paraview parallel
 
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



wyldckat June 16, 2012 17:38

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

Tobi June 16, 2012 19:05

Quote:

Originally Posted by wyldckat (Post 366830)
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


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