|
[Sponsors] |
[OpenFOAM.org] OF 2.3.0 compiling Paraview with "-python -mpi" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 12, 2014, 07:58 |
OF 2.3.0 compiling Paraview with "-python -mpi"
|
#1 |
New Member
Join Date: Sep 2014
Posts: 3
Rep Power: 12 |
Dear all, trying to compile OF 2.3.0 I am running into trouble.
OS: Scientific Linux 6.5 gcc: 4.9.1 openmpi: 1.8.2 python: 2.6.6 When following the instructions under Source Pack Installation on http://www.openfoam.org/download/source.php everything works fine. Adding the -python flag to makeParaView4 it still works. Problems began when I try compiling with Code:
./makeParaView -python -mpi Code:
-DMPI_Fortran_INCLUDE_PATH=$openmpi/include \ -DMPI_Fortran_LIBRARIES=$openmpi/lib/libmpi_mpifh.so Now, when doing Code:
make -j 8 Code:
5%] Building C object VTK/ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/vtkhdf5.dir/__/H5lib_settings.c.o Linking CXX shared library ../../../lib/libvtkCommonCore-pv4.1.so [ 5%] Built target vtkCommonCore Linking C shared library ../../../../../lib/libvtkhdf5-pv4.1.so [ 5%] Built target vtkhdf5 make: *** [all] Error 2 |
|
September 14, 2014, 04:38 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings bender.rodriguez and welcome to the forum!
I want to try and reproduce the same error you're getting, while using CentOS 6.5 (which is basically the same as SL 6.5), but I need to know how exactly you installed GCC 4.9.1 and Open-MPI 1.8.2!? Best regards, Bruno
__________________
|
|
September 17, 2014, 12:19 |
|
#3 |
New Member
Join Date: Sep 2014
Posts: 3
Rep Power: 12 |
Dear Bruno,
thank you very much. Any help is appreciated. gcc was build with the following steps. $installdir is a variable pointing to a directory where all software gets installed. I am using modules environment to make different versions available when needed. Code:
mkdir gcc-builddir cd gcc-builddir export LD_LIBRARY_PATH=$installdir/gmp-6.0.0/lib/:$installdir/mpfr/mpfr-3.1.2/lib/:$installdir/mpc/mpc-1.0.2/lib:$installdir/cloog/cloog-0.18.1/lib/:$installdir/isl/isl-0.12.2:$LD_LIBRARY_PATH ../gcc-4.9.1/configure --enable-languages=all --with-gmp=$installdir/gmp-6.0.0 --with-mpfr=$installdir/mpfr/mpfr-3.1.2 --with-mpc=$installdir/mpc/mpc-1.0.2 --with-cloog=$installdir/cloog/cloog-0.18.1 -prefix=$installdir/gcc-4.9.1 --disable-multilib make -j 8 sudo make install OpenMPI was build with the following command, after loading the prviously loaded gcc module. Code:
module load gcc/4.9.1 cd openmpi-1.6.3 ./configure --prefix= $installdir/mpi/openmpi/1.6.3-gnu_4.9.1 2>&1 | tee configure.log make -j 8 2>&1 | tee make_j_8.log make check 2>&1 | tee openmpi-1.6.3_make_check.txt sudo make install 2>&1 | tee make_install.log
|
|
September 20, 2014, 09:59 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi bender.rodriguez,
I'm one of the main writers for these wiki pages: http://openfoamwiki.net/index.php/In...CentOS_SL_RHEL - so I tend to follow the step-by-step approach on those wiki pages. Regarding the versions you've indicated, the one that most likely is to blame is CMake 3.0.1. ParaView 4.1.0 was released when the CMake 2.8.x series was running, therefore it's not very likely that it will build properly with CMake 3.0.x. GMP 6.0.0 is also a reason of concern for me, because that sort-of implies that it's still the first major version of the 6.0 series, which might mean that unexpected big bugs can easily pop-up. The other strange detail I'm seeing is that on the first post you mention Open-MPI 1.8.2, but on the second post you mention 1.6.3? Either way, I'm going to try and test this myself this weekend in a virtual machine with CentOS 6.5, to determine if the problem is associated to GCC 4.9 or not. ---------------------------------- edit: I've tested and updated the installation instructions here: http://openfoamwiki.net/index.php/In...HEL#CentOS_6.5 - it now also includes instructions on how to build ParaView with both MPI and Python support. The steps that changed were only #2 and #17, namely the packages that need to be installed in #2; on #17 was the fix and the additional build options. I didn0t have time to test with GCC 4.9.1, but I believe that if you can make sure the packages in #2 are all installed and then build ParaView 4.1.0 using the steps in #17, while using the software versions you're using of GCC et al. If the build process fails, please provide the file "log.makePV" which should be available when makeParaView4 is finished, since it will tell us the complete story of why the build was not successful. ---------------------------------- Best regards, Bruno Last edited by wyldckat; September 21, 2014 at 16:06. Reason: see "edit:" |
|
December 1, 2014, 05:49 |
|
#5 | |||
New Member
Join Date: Sep 2014
Posts: 3
Rep Power: 12 |
Quote:
Quote:
Quote:
Code:
WM_MPLIB=SYSTEMOPENMPI I used 4.9.1, this is what I am sure about. All the logs state that. Would it be of any use if I provided in depth instructions for compiling the pieces of software I used? |
||||
December 14, 2014, 13:27 |
|
#6 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi bender.rodriguez,
Quote:
Quote:
Feel free to start a new section on the aforementioned wiki page, with the clear indication that it refers to an installation without root permissions. If you don't feel comfortable with the wiki language and prefer to use some other format, I can quickly handle the transfer of your format to wiki format, if you agree with the licensing that this wiki uses, namely GNU Free Documentation License 1.3 Best regards, Bruno |
|||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] (Script)OpenFOAM 2.3.0 and Paraview for Ubuntu 14.04 | p0kerus | OpenFOAM Installation | 2 | December 2, 2014 08:54 |
[OpenFOAM] paraview v4 - building with python - OF2.3.0, PVv4, Python 2.7 | aylalisa | ParaView | 4 | June 13, 2014 09:52 |
[OpenFOAM] ParaView 33 Python Shell error | mschoenberg | ParaView | 2 | August 20, 2008 11:42 |
Error using LaunderGibsonRSTM on SGI ALTIX 4700 | jaswi | OpenFOAM | 2 | April 29, 2008 11:54 |
Is Testsuite on the way or not | lakeat | OpenFOAM Installation | 6 | April 28, 2008 12:12 |