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

[OpenFOAM.org] Problem with installation of OpenFoam 4.1 on Ubuntu 20.04 LTS

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 2, 2020, 04:15
Default Problem with installation of OpenFoam 4.1 on Ubuntu 20.04 LTS
  #1
New Member
 
Ferenc Safranyik
Join Date: Dec 2020
Posts: 5
Rep Power: 5
safranyikf is on a distinguished road
Dear All,


I am very interesting in CFD simulations and I would like to use OpenFoam. I have tried to install OpenFoam 4.1 on Ubuntu 20.04 LTS. These steps were followed and these instructions were considered as well, however I faced a problem but I do not understand what can be the mistake (I am not an experienced Ubuntu user).

I got follwong error messages in Terminal after an hour of compiling:
Code:
.1/applications/bin/linux64GccDPInt32Opt/yPlusRAS
/usr/bin/ld: cannot find -lfoam
collect2: error: ld returned 1 exit status
make[3]: *** [/home/feri/foam/foam-extend-4.1/wmake/Makefile:160:  /home/feri/foam/foam-extend-4.1/applications/bin/linux64GccDPInt32Opt/yPlusRAS]  Error 1
make[2]: *** [/home/feri/foam/foam-extend-4.1/wmake/MakefileApps:39: yPlusRAS] Error 2
make[2]: Target 'application' not remade because of errors.
make[1]: *** [/home/feri/foam/foam-extend-4.1/wmake/MakefileApps:39: wall] Error 2
make[1]: Target 'application' not remade because of errors.
make: *** [/home/feri/foam/foam-extend-4.1/wmake/MakefileApps:39: postProcessing] Error 2
make: Target 'application' not remade because of errors.
What should I do to solve the problem?


update: The problem was solved with a fresh reinstall. blockMesh and simpleFoam are working but paraFoam throws the following error:
Code:
feri@ubuntu:~/foam/feri-4.1/run/pitzDaily$ paraFoam -vtk
Created temporary 'pitzDaily.foam'
--------------------------------------------------------------------------
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)
[ubuntu:535647] Local abort before MPI_INIT completed completed successfully, but am not able to aggregate error messages, and not able to guarantee that all other processes were killed!
What should I do?
Thanks in advance, Feri

Last edited by safranyikf; December 3, 2020 at 06:02.
safranyikf is offline   Reply With Quote

Old   December 3, 2020, 05:49
Default
  #2
New Member
 
Ferenc Safranyik
Join Date: Dec 2020
Posts: 5
Rep Power: 5
safranyikf is on a distinguished road
Hi,


following a fresh reinstall the blockMesh and simpleFoam is working, however paraFoam throws the following error:
Code:
 paraFoam -vtk
Created temporary 'pitzDaily.foam'
--------------------------------------------------------------------------
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)
[ubuntu:535647] Local abort before MPI_INIT completed completed successfully, but am not able to aggregate error messages, and not able to guarantee that all other processes were killed!
How can I solve this issue?
safranyikf is offline   Reply With Quote

Reply

Tags
openfoam 4.1, ubuntu 20.04


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.org] OpenFOAM 5 installation on Ubuntu 20.04 azamat OpenFOAM Installation 6 November 28, 2022 07:04
[swak4Foam] Swak4foam installation error with OF 2.2.0 (Ubuntu 12.04 LTS) vbchris OpenFOAM Community Contributions 8 March 25, 2021 20:11
[swak4Foam] swak4foam openfoam 7 installation problem Andrea23 OpenFOAM Community Contributions 1 February 17, 2020 18:11
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24
Openfoam 2.1 installation in ubuntu 12.04 jsm OpenFOAM Installation 11 May 7, 2012 04:56


All times are GMT -4. The time now is 17:25.