|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
|
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
[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 |
|
|
|
|
|
|
|
|
#2 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,278
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
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
__________________
|
|
|
|
|
|
|
|
|
#3 | |
|
Senior Member
|
Quote:
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] Wow Bruno, thats the truth! THANKS TO YOU - ALL THE TIMES! Tobi |
||
|
|
|
||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| OF 2.0.1 parallel running problems | moser_r | OpenFOAM Running, Solving & CFD | 5 | January 20, 2013 16:11 |
| 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 |