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

[OpenFOAM.com] Install older verisons of precompiled openfoam

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By olesen
  • 1 Post By gerlero

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2023, 14:35
Default Install older verisons of precompiled openfoam
  #1
New Member
 
Join Date: Sep 2022
Posts: 18
Rep Power: 4
newGuyAtCFD is on a distinguished road
Hi,

I would like to install OpenFoam v1912 binaries as in https://develop.openfoam.com/Develop...s/precompiled/.

Is this possible?
I have tried the commands but it is not able to locate the package.

How can I see which versions are available for download?

Best Regards
newGuyAtCFD is offline   Reply With Quote

Old   April 18, 2023, 11:34
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
This might still be available for the OpenSUSE rpms, but getting much too old for debian/ubuntu packs.
The problem is that various OpenFOAM directory structures and install scripts have been adjusted to package nicely for debian/ubuntu and backporting these to a version that is already more than 3 years old is difficult to justify. Additionally, there are a number of compilation-related bugfixes that have also gone into later versions. Again, backporting them is A LOT to maintain.


Your next best option will be 2006 or later. Is there a reason that you actually need that particular version? Often it is a case that some random project somewhere has written code and tested it wiht a particular version (eg, 1912), but that doesn't mean that is doesn't work with new versions. So unless something really fundamental has changed, you should be able to get it compiling with a more recent version of OpenFOAM without too much trouble - and certainly with much less trouble than maintaining binary packages for yet another version (currently have 2006, 2012, 2106, 2112, 2206, 2212).
MontelukastNa likes this.
olesen is offline   Reply With Quote

Old   September 21, 2024, 10:18
Default
  #3
New Member
 
Na
Join Date: Feb 2022
Posts: 8
Rep Power: 4
MontelukastNa is on a distinguished road
Dear Mark Olesen

Thank you very much for your continuous efforts and excellent work on OpenFOAM. Recently, I attempted to install OpenFOAM using the precompiled packages via the installer script. However, I encountered the following errors:

/************errors***************/
13% [Connecting to cyfuture.dl.sourceforge.net (49.50.119.27)]
Ign:1 https://sourceforge.net/projects/ope...iles/repos/deb focal/main amd64 openfoam-selector all 1.0.6-1
Err:1 https://sourceforge.net/projects/ope...iles/repos/deb focal/main amd64 openfoam-selector all 1.0.6-1 Could not connect to cyfuture.dl.sourceforge.net:443 (49.50.119.27). - connect (111: Connection refused)
Ign:2 https://sourceforge.net/projects/ope...iles/repos/deb focal/main amd64 openfoam2406-common all 2406.0-1
Err:2 https://sourceforge.net/projects/ope...iles/repos/deb focal/main amd64 openfoam2406-common all 2406.0-1 Unable to connect to cyfuture.dl.sourceforge.net:https:
Err:3 https://sourceforge.net/projects/ope...iles/repos/deb focal/main amd64 openfoam2406 amd64 2406.0-1 Unable to connect to cyfuture.dl.sourceforge.net:https:
E: Failed to fetch https://dl.openfoam.com/repos/deb/di....0.6-1_all.deb Could not connect to cyfuture.dl.sourceforge.net:443 (49.50.119.27). - connect (111: Connection refused)
E: Failed to fetch https://dl.openfoam.com/repos/deb/di...06.0-1_all.deb Unable to connect to cyfuture.dl.sourceforge.net:https:
E: Failed to fetch https://cyfuture.dl.sourceforge.net/...64.deb?viasf=1 Unable to connect to cyfuture.dl.sourceforge.net:https:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
/************errors***************/

I have already updated the signing certificate and verified both the proxy settings and network details. Unfortunately, the issue persists.
Could you kindly advise on how to resolve this problem? I greatly rely on the OpenFOAM precompiled packages for my work, and your assistance would be invaluable.

Best regards,
Na
MontelukastNa is offline   Reply With Quote

Old   September 24, 2024, 00:16
Default
  #4
New Member
 
Na
Join Date: Feb 2022
Posts: 8
Rep Power: 4
MontelukastNa is on a distinguished road
Dear Mark Olesen,
I hope this message finds you well.
I recently encountered several errors while attempting to install OpenFOAM using the precompiled packages via the installer script. Here are the specific errors I faced:.

/************install script errors***************/
13% [Connecting to cyfuture.dl.sourceforge.net (49.50.119.27)]
Ign:1*[https://sourceforge.net/projects/ope...eb)*focal/main amd64 openfoam-selector all 1.0.6-1
Err:1*[https://sourceforge.net/projects/ope...eb)*focal/main amd64 openfoam-selector all 1.0.6-1 Could not connect to cyfuture.dl.sourceforge.net:443 (49.50.119.27). - connect (111: Connection refused)
Ign:2*[https://sourceforge.net/projects/ope...eb)*focal/main amd64 openfoam2406-common all 2406.0-1
Err:2*[https://sourceforge.net/projects/ope...eb)*focal/main amd64 openfoam2406-common all 2406.0-1 Unable to connect to cyfuture.dl.sourceforge.net:https:
Err:3*[https://sourceforge.net/projects/ope...eb)*focal/main amd64 openfoam2406 amd64 2406.0-1 Unable to connect to cyfuture.dl.sourceforge.net:https:
E: Failed to fetch*[https://dl.openfoam.com/repos/deb/di...all.deb)*Could not connect to cyfuture.dl.sourceforge.net:443 (49.50.119.27). - connect (111: Connection refused)
E: Failed to fetch*[https://dl.openfoam.com/repos/deb/di...ll.deb)*Unable to connect to cyfuture.dl.sourceforge.net:https:
E: Failed to fetch*[https://cyfuture.dl.sourceforge.net/...iasf=1)*Unable to connect to cyfuture.dl.sourceforge.net:https:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
/************install script errors***************/

These issues seem to stem from my campus's internet setup, which appears unresolvable. While I can download the .deb files manually via Mozilla Firefox, the Ubuntu terminal is unable to connect to SourceForge.
I have attempted a manual installation using the following commands:

/************manually install command***************/
sudo dpkg -i openfoam-selector_1.0.6-1_all.deb
sudo dpkg -i openfoam2006-common_2006.210414-1_all.deb
sudo dpkg -i openfoam2006_2006.210414-1_amd64.deb
sudo dpkg -i openfoam2006-tools_2006.210414-1_amd64.deb
sudo dpkg -i openfoam2006-source_2006.210414-1_all.deb
sudo dpkg -i openfoam-tutorials_2006.210414-1_all.deb
sudo dpkg -i openfoam2006-dev_2006.210414-1_amd64.deb
sudo dpkg -i openfoam2006-default_2006.210414-1_amd64.deb
/************manually install command***************/

However, I am now facing warnings, including:

/************manually install errors***************/
mypc@mypc:~/Downloads/openfoam2006$ sudo dpkg -i openfoam2006_2006.210414-1_amd64.deb
Selecting previously unselected package openfoam2006:amd64.
(Reading database ... 238110 files and directories currently installed.)
Preparing to unpack openfoam2006_2006.210414-1_amd64.deb ...
Unpacking openfoam2006:amd64 (2006.210414-1) ...
dpkg: dependency problems prevent configuration of openfoam2006:amd64:
openfoam2006:amd64 depends on mpi-default-bin; however:
Package mpi-default-bin is not installed.
openfoam2006:amd64 depends on libfftw3-double3 (>= 3.3.5); however:
Package libfftw3-double3 is not installed.
openfoam2006:amd64 depends on libptscotch-6.0 (>= 6.0.9); however:
Package libptscotch-6.0 is not installed.
openfoam2006:amd64 depends on libscotch-6.0 (>= 6.0.9); however:
Package libscotch-6.0 is not installed.

dpkg: error processing package openfoam2006:amd64 (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.9.1-1) ...
Errors were encountered while processing:
openfoam2006:amd64
/************manually install errors***************/

Could you advise on the correct method for manual installation of the OpenFOAM precompiled package or how to resolve these errors?

Thank you for your assistance.

Best regards,
Na
MontelukastNa is offline   Reply With Quote

Old   September 24, 2024, 17:07
Default
  #5
New Member
 
Gabriel Gerlero
Join Date: Jan 2022
Posts: 21
Rep Power: 4
gerlero is on a distinguished road
Not exactly the same as what you're asking, but if you're able to use Docker, I have a repo with images of older versions of OpenFOAM: https://github.com/gerlero/docker-openfoam
Ron71 likes this.
gerlero is offline   Reply With Quote

Old   September 24, 2024, 18:35
Default
  #6
New Member
 
Join Date: Dec 2022
Posts: 15
Rep Power: 4
Ron71 is on a distinguished road
Either docker an older Linux to your current system or look for an OF image in docker as well. That should work both
Ron71 is offline   Reply With Quote

Old   September 29, 2024, 23:28
Default
  #7
New Member
 
Na
Join Date: Feb 2022
Posts: 8
Rep Power: 4
MontelukastNa is on a distinguished road
Thank you, Gerlero. I truly appreciate your assistance. I have decided to learn Docker.

By the way, do you happen to know about the performance differences of OpenFOAM across Ubuntu Docker, WSL2 Docker, and Windows Docker? Specifically, I am interested in any variations in simulation time costs.

Best regards,
Na
MontelukastNa is offline   Reply With Quote

Old   September 29, 2024, 23:35
Default
  #8
New Member
 
Gabriel Gerlero
Join Date: Jan 2022
Posts: 21
Rep Power: 4
gerlero is on a distinguished road
Quote:
Originally Posted by MontelukastNa View Post
By the way, do you happen to know about the performance differences of OpenFOAM across Ubuntu Docker, WSL2 Docker, and Windows Docker? Specifically, I am interested in any variations in simulation time costs.
See this post for some (somewhat old and very non-scientific) numbers. This was on Mac; I should note that the performance hit should be lower with Linux because Docker there can use the same kernel as the rest of the OS.
gerlero is offline   Reply With Quote

Old   October 3, 2024, 03:49
Default
  #9
New Member
 
Na
Join Date: Feb 2022
Posts: 8
Rep Power: 4
MontelukastNa is on a distinguished road
Quote:
Originally Posted by gerlero View Post
See this post for some (somewhat old and very non-scientific) numbers. This was on Mac; I should note that the performance hit should be lower with Linux because Docker there can use the same kernel as the rest of the OS.
Great! Gerlero, Thank you for your work!
MontelukastNa 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] Native OpenFOAM for macOS: OpenFOAM-v2112.app (install instructions and GitHub link) gerlero OpenFOAM Installation 32 November 21, 2024 03:20
[OpenFOAM.com] How to install dsmcfoam+ having OpenFoam 8 on Ubuntu 20.04 LTS Bya_777 OpenFOAM Installation 2 May 12, 2024 10:55
[OpenFOAM.com] Unable to install OpenFOAM v1906/v2012 in Ubuntu 20.04.2 LTS chandra shekhar pant OpenFOAM Installation 5 June 18, 2021 09:49
unable to install openfoam 1.7 using apt-get maazhmd OpenFOAM Installation 7 July 24, 2011 12:18
How to Install OpenFOAM on 64 Ubuntu 9.04 hansel OpenFOAM Installation 62 March 19, 2010 15:43


All times are GMT -4. The time now is 11:40.