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

[OpenFOAM.com] Fedora openFoam2006 copr installation errors

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2020, 17:58
Default Fedora openFoam2006 copr installation errors
  #1
KTG
Senior Member
 
Abe
Join Date: May 2016
Posts: 119
Rep Power: 10
KTG is on a distinguished road
Hi Foamers,


I was really really excite to see ESI was offering precompiled binaries for Fedora, because I regularly have a very frustrating experience trying to compile from source twice a year. However, I can't install:



Code:
Error: 
 Problem: package openfoam2006-default-201012-201012.fc31.x86_64 requires openfoam2006-devel = 201012, but none of the providers can be installed
  - package openfoam2006-devel-201012-201012.fc31.noarch requires openfoam2006 = 201012, but none of the providers can be installed
  - conflicting requests
  - nothing provides libmpi.so.40()(64bit) needed by openfoam2006-201012-201012.fc31.x86_64
(try to add '--skip-broken' to skip uninstallable packages)
I have a working MPI installation, which I use with an old version of OF compiled from source. Anyone have any insights here?


Thanks
KTG is offline   Reply With Quote

Old   November 3, 2020, 16:04
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by KTG View Post
I have a working MPI installation, which I use with an old version of OF compiled from source. Anyone have any insights here?
This was a really annoying one - it's nothing with you or your installation. I believe I have it solved now and have kicked off another build that I think should be good. Will update on the issue tracker - https://develop.openfoam.com/Develop...am/issues/1893

It would be good we communicate on that for the final tests (you can be one the people to "sign-off" the changes if you wish). When the dust is finally settled we can either post a summary here, or a link to the solution.
Thanks for bearing with us!

EDIT: if you are desperate to install, you can override with allowing broken packages (the mpi problem is an "accounting" error) but the scotch bits were also busted.
olesen is offline   Reply With Quote

Old   November 3, 2020, 16:45
Default
  #3
KTG
Senior Member
 
Abe
Join Date: May 2016
Posts: 119
Rep Power: 10
KTG is on a distinguished road
Ahh, that is interesting, I was having ptscotch troubles while trying to build from source. I have an old build that still works so I will give the copr version another try when its ready.



Thanks!
KTG is offline   Reply With Quote

Old   November 4, 2020, 16:14
Default
  #4
KTG
Senior Member
 
Abe
Join Date: May 2016
Posts: 119
Rep Power: 10
KTG is on a distinguished road
I was able to install today! However, it didn't add the path. I was able to get things working by sourcing the bashrc in /usr/lib/openfoam/openfoam2006/etc, but I am getting the impression from the documentation that this is not the way things are intended to work. I read that the idea is to be able to install multiple versions alongside one another, and it seems like "openfoam-selector" should tell the system which bashrc to source? Is there any example of its usage? I tried



openfoam-selector --register v2006 --source-dir /usr/lib/openfoam/openfoam2006/


which failed. Anyway its nice to have a working install - thanks for supporting Fedora!
KTG is offline   Reply With Quote

Old   November 13, 2020, 09:39
Default
  #5
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by KTG View Post
I was able to install today! However, it didn't add the path. I was able to get things working by sourcing the bashrc in /usr/lib/openfoam/openfoam2006/etc, but I am getting the impression from the documentation that this is not the way things are intended to work. I read that the idea is to be able to install multiple versions alongside one another, and it seems like "openfoam-selector" should tell the system which bashrc to source? Is there any example of its usage? I tried

openfoam-selector --register v2006 --source-dir /usr/lib/openfoam/openfoam2006/

which failed. Anyway its nice to have a working install - thanks for supporting Fedora!
The registration is normally done at the time of installation, but you can also do it afterwards. You would want to have the following (needs root).
Code:
openfoam-selector --register openfoam2006 --source-dir /usr/lib/openfoam/openfoam2006 --yes
After that, the --list option should list what is available.
Try man openfoam-selector. If the examples need improvement, make suggestions.
Probably the openfoam-selector-menu is easiest.

Note that you probably still need to load your mpi modules too. In general, however, I would suggest the shell session as a good alternative.
Code:
$ openfoam2006 
Using: OpenFOAM-2006 (patch=201012) - visit www.openfoam.com
Arch:  linux64GccDPInt32Opt (mpi=openmpi-system)
OpenFOAM shell session - use exit to quit
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
[solidMechanics] Support thread for "Solid Mechanics Solvers added to OpenFOAM Extend" bigphil OpenFOAM CC Toolkits for Fluid-Structure Interaction 686 December 22, 2022 10:10
dynamic Mesh is faster than MRF???? sharonyue OpenFOAM Running, Solving & CFD 14 August 26, 2013 08:47
OpenFOAM 1.6 ext - Compilation errors - Fedora 17(32bit) toolpost OpenFOAM Installation 15 September 21, 2012 10:38
Critical errors gcc and icoFoam during installation of 15 quartzian OpenFOAM Installation 3 December 12, 2008 13:42
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09


All times are GMT -4. The time now is 14:12.