CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.org] RHEL 7.8 Issues installing ParaView - Third Party install not creating OpenMPI

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2021, 23:50
Default RHEL 7.8 Issues installing ParaView - Third Party install not creating OpenMPI
  #1
New Member
 
Ryan
Join Date: Mar 2021
Posts: 2
Rep Power: 0
browny is on a distinguished road
Hi there,

hoping that someone else might have seen this in the past in order to provide some help.

I am attempting to use these instructions on the OpenFoam wiki to install OpenFoam 6 on a RHEL 7.8 server but I am running into issues at step 10 when it attempts to make Paraview.

The output is indicating that it could not find any of the MPI libraries;

Code:
-- Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH)
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIBRARIES MPI_Fortran_INCLUDE_PATH)
-- Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH)
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIBRARIES MPI_Fortran_INCLUDE_PATH)
-- Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH)
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIBRARIES MPI_Fortran_INCLUDE_PATH)
-- Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH)
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIBRARIES MPI_Fortran_INCLUDE_PATH)
-- Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH)
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIBRARIES MPI_Fortran_INCLUDE_PATH)
-- Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH)
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIBRARIES MPI_Fortran_INCLUDE_PATH)
I will note that this is not being performed in the root directory, but instead in a /opt location on a mounted storage so the instructions are a little different but when I look at the previous step, the associated log for openmpi 2.1.1 doesn't appear to indicate any build errors and the configure command shows the preferred install directory;

Code:
./configure --prefix=/opt/shared/openfoam/build/OpenFOAM/ThirdParty-6/platforms/linux64Gcc/openmpi-2.1.1 --disable-orterun-prefix-by-default --enable-shared --disable-static --enable-mpi-thread-multiple --libdir=/opt/shared/openfoam/build/OpenFOAM/ThirdParty-6/platforms/linux64Gcc/openmpi-2.1.1/lib64 --enable-mpi-fortran=none --disable-mpi-profile --with-sge
However, when I navigate to this directory, there is no openmpi directory at all. There is an empty openmpi directory in /opt/.../platforms/linux64GccDPInt64/lib but as mentioned, this is empty.

I've attempted to install ParaView with our openmpi 2.1.3 (loaded in via LMOD) but this fails so I believe I need the particular package provided that should have been installed with the ./Allwmake command.

Hoping someone else has come across this before and might be able to point me in the right direction.

Thanks a heap,
Ryan
browny is offline   Reply With Quote

Old   April 5, 2021, 22:11
Default
  #2
New Member
 
Ryan
Join Date: Mar 2021
Posts: 2
Rep Power: 0
browny is on a distinguished road
So just an update on the off chance it helps anyone out. Turns out there was an error that was buried in the logs that I missed every other time I tried to review it due to the sheer size;

Code:
libtool:   error: require no space between '-L' and '-lrt'
make[2]: *** [mca_pml_ucx.la] Error 1
make[2]: Leaving directory `/opt/shared/openfoam/build/OpenFOAM/ThirdParty-6/openmpi-2.1.1/ompi/mca/pml/ucx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/shared/openfoam/build/OpenFOAM/ThirdParty-6/openmpi-2.1.1/ompi'
make: *** [all-recursive] Error 1
With this, I actually came across this git post, easybuild-easyconfigs issue 5805, for a different project with the same error and determined the issue was that the ucx-devel package is installed so I've added the following to the Allwmake file and it is seemingly building and allowing me to move on to the next step;

Code:
101  101              --disable-mpi-profile \
     102 +            --without-ucx \
102  103              $configOpt \
Hope this might help someone else out!
browny is offline   Reply With Quote

Old   April 24, 2021, 05:18
Default
  #3
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Nice update, but if you refer to more recent
https://develop.openfoam.com/Develop...equirements.md

it mentions that you probably don't want to be using that particular OpenMPI version anyhow.
It also refers to this bug report:
https://github.com/open-mpi/ompi/issues/5375

The min recommended openmpi2 version of 2.1.6 was established by verifying when the corresponding patch fix actually went in.
olesen is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.com] paraFoam cannot open due to Qt issues - [Solved/Information] u2berggeist OpenFOAM Installation 2 July 2, 2018 17:03
[OpenFOAM.org] Issues with OpenMPI compilation Regis_ OpenFOAM Installation 5 July 15, 2015 10:14
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41
Problem installing OpenFOAM 1.5 installation on RHEL 4. vwsj84 OpenFOAM Installation 4 April 23, 2009 04:48
OpenFOAM and Paraview install issues spridal86 OpenFOAM Installation 7 February 13, 2008 13:15


All times are GMT -4. The time now is 07:02.