|
[Sponsors] |
[OpenFOAM.org] Compile ParaView-5.4-0 (from OpenFOAM-6) using Ubuntu 20.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 22, 2021, 13:29 |
Compile ParaView-5.4-0 (from OpenFOAM-6) using Ubuntu 20.04
|
#1 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28 |
This is more a note to the universe than a question.
I have recently got a new machine with Ubuntu 20.04 on it, and I installed a couple of OpenFOAM versions on it. For some stuff I needed an OpenFOAM-6 installation, hence I compiled one from source code. With OpenFOAM itself, I encountered no problems, however, ParaView had some issues. It turned out, that I needed to apply the changes described in this post, which are some changes to support Qt-5.11. On my machine (pretty vanilla Ubuntu 20.04 there is Qt 5.12.8). Furthermore, I needed to install the qtxmlpatterns5-dev-tools package, since compiling ParaView stopped with an error. Another change that was necessary, was this one. Last edited by GerhardHolzinger; March 23, 2021 at 06:07. Reason: added final note |
|
March 23, 2021, 03:49 |
|
#2 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Quote:
I'm curious about why you need to compile paraview from source at all. I've generally found that a precompiled paraview binary v5.6.3 or newer works quite well. The only thing might be if you need the catalyst insitu as well, in which case you can't avoid it. LG /mark |
||
March 23, 2021, 06:10 |
|
#3 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28 |
I think habit is the correct answer. I have always installed OpenFOAM from source, hence this is what I do by default.
|
|
March 31, 2021, 14:37 |
|
#4 |
New Member
Marco Pancaldi
Join Date: Mar 2021
Location: Italy
Posts: 4
Rep Power: 5 |
Hi Gerhard,
I'm trying to install OpenFOAM 6 on ubuntu 20.04, but It's the first time I compile OpenFOAM from suorce code, and I'm not very expert. Is possible to compile OpenFOAM without compile Paraview? |
|
March 31, 2021, 14:45 |
|
#5 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Quote:
https://develop.openfoam.com/Develop...raview-plugins Of course, if you have Ubuntu 20.04, I would probably go for a precompiled binary: https://develop.openfoam.com/Develop...ompiled/debian |
||
April 1, 2021, 07:30 |
|
#6 | ||
New Member
Marco Pancaldi
Join Date: Mar 2021
Location: Italy
Posts: 4
Rep Power: 5 |
Quote:
Quote:
|
|||
April 1, 2021, 11:38 |
|
#7 |
New Member
Marco Pancaldi
Join Date: Mar 2021
Location: Italy
Posts: 4
Rep Power: 5 |
I'ved found the binary, and resolved my problem.
Mark thankyou for your help |
|
November 14, 2021, 09:57 |
|
#8 | |
Member
Andrea Di Ronco
Join Date: Nov 2016
Location: Milano, Italy
Posts: 57
Rep Power: 10 |
Quote:
The error it gives is related to OpenMPI: Code:
-------------------------------------------------------------------------- It looks like opal_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during opal_init; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer): opal_shmem_base_select failed --> Returned value -1 instead of OPAL_SUCCESS -------------------------------------------------------------------------- -------------------------------------------------------------------------- It looks like orte_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during orte_init; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer): opal_init failed --> Returned value Error (-1) instead of ORTE_SUCCESS -------------------------------------------------------------------------- -------------------------------------------------------------------------- It looks like MPI_INIT failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during MPI_INIT; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer): ompi_mpi_init: ompi_rte_init failed --> Returned "Error" (-1) instead of "Success" (0) -------------------------------------------------------------------------- *** An error occurred in MPI_Init *** on a NULL communicator *** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort, *** and potentially your MPI job) So, just to provide a broader view, it seems that integrating a pre-compiled PV in a OF6 environment is not that straightforward. Of course I can launch PV in a separate terminal, but it's far from ideal so I think I'll try to give the shipped PV another try. Andrea |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Paraview command error. OpenFOAM 8, Ubuntu 20.04 | sungmin130 | OpenFOAM Installation | 1 | April 28, 2021 11:21 |
[OpenFOAM.com] Paraview command error. OpenFOAM 8, Ubuntu 20.04 | sungmin130 | OpenFOAM Installation | 0 | October 20, 2020 13:26 |
[OpenFOAM.com] Compile error OpenFoam v1912 on ubuntu 18.04 LTS | dkeogh | OpenFOAM Installation | 4 | June 11, 2020 10:11 |
[OpenFOAM.org] Can't seem to compile ParaView 4.1.0 (OpenFOAM 2.4.x, CentOS 7) | me3840 | OpenFOAM Installation | 2 | October 13, 2015 01:05 |
paraview not working after installing OpenFOAM in Ubuntu 12.04 | Jackie Chen | OpenFOAM Installation | 5 | October 9, 2014 07:28 |