|
[Sponsors] |
[OpenFOAM.com] Issues installing v2312 on Debian 12 (bookworm) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 10, 2024, 18:06 |
Issues installing v2312 on Debian 12 (bookworm)
|
#1 |
New Member
Andrew Arnold
Join Date: Apr 2024
Posts: 10
Rep Power: 2 |
Hi, I'm trying to install v2312 in the latest continuumio/miniconda3 docker image, which is based on Debian 12 (bookworm). I've attached my dockerfile as a .txt (I'm building with the .dockerfile suffic, of course).
I am getting the classic error, E: Unable to locate package openfoam2312-default, despite bookworm being present in the repo. Not sure what could be causing this. I would love to start from the miniconda docker image, so any advice would be appreciated. Last edited by instanton; June 11, 2024 at 16:11. Reason: wrote "bullseye" instead of "bookworm" |
|
June 12, 2024, 11:34 |
|
#2 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Quote:
Not sure where things are going wrong for you. The misc 'sudo' in your docker file look a bit odd. I just tried a manual install within a bookworm image with "apt-get install -y openfoam2312-default" and it installing the tutorials as I write. It could be worth checking if modified versions of the regular docker files work for you, and go from there: https://develop.openfoam.com/packagi...b/main/docker/ I think that those are a nice way to go since they do all of the fixes, setup files within the container and provide the nss-wrapper, which lets you easily map users into the container. |
||
June 12, 2024, 15:16 |
|
#3 | |
New Member
Andrew Arnold
Join Date: Apr 2024
Posts: 10
Rep Power: 2 |
Quote:
Hi Mark, thank you for responding and all the work that you do. By misc 'sudo', do you mean miscellaneous 'sudo' commands, or missing sudo commands? I believe my issues with using the regular docker files involved the installation of python packages, which were solved by starting from the miniconda image... so I'm stuck trading off one problem for another, and the OpenFOAM issue seems to me maybe more manageable. Could you try building the dockerfile I provided? It's a total mystery to me, but you might notice something that escapes a novice like myself. |
||
June 13, 2024, 05:18 |
|
#4 | |||
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Quote:
Quote:
In general (once you get things debugged), you should reduce the number of separate lines since each one will correspond to an intermediate image layer, which increases your final image size. Quote:
As for your swak4foam "work-in-progress". There are a number of things that swak does that can also now be done with the regular openfoam.com version. If (really useful) things are still missing, it would make the most sense to get these upstreamed into openfoam.com, but this of course requires effort/support/etc (this probably sounds like begging, but the resources have to come from somewhere). |
||||
June 13, 2024, 15:56 |
|
#5 | |
New Member
Andrew Arnold
Join Date: Apr 2024
Posts: 10
Rep Power: 2 |
Quote:
Code:
16.93 ERROR: Could not find a version that satisfies the requirement gmsh (from versions: none) 16.93 ERROR: No matching distribution found for gmsh You're right, I haven't found a need for swak4Foam, and I've managed to achieve a lot of what I would want from it by using codedMixed boundary conditions (I *really* wish the documentation for codedMixed and expressions was easier to track down and better maintained). Again, thank you. |
||
June 14, 2024, 07:52 |
|
#6 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Actually it seems that I tested on ubuntu not debian, maybe that's the difference?
|
|
June 14, 2024, 18:44 |
|
#7 | |
New Member
Andrew Arnold
Join Date: Apr 2024
Posts: 10
Rep Power: 2 |
Quote:
Yes, I imagine it is. Starting from an ubuntu image, I have no issue with installing Openfoam. But really, I don't see any reason *why* the Debian image should be causing issues: it just seems to not be able to find the right files for the Debian build, based on the error I'm receiving. I hope this is something that can be addressed on the OpenFOAM end of things: is there any reason why a Debian build should fail while the ubuntu does not? Some inconsistency in the file structure? Certainly some Debian users have had success with OpenFOAM builds, no? Thanks, Mark. |
||
Tags |
bookworm, debian |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MPI issues on debian Debian 11 bullseye | flavio73 | SU2 | 8 | April 3, 2024 11:02 |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
SU2-7.0.1 on ubuntu 18.04 | hyunko | SU2 Installation | 7 | March 16, 2020 05:37 |
[OpenFOAM.com] Issues with installing v1712 on MacOS | Spacegirl1923 | OpenFOAM Installation | 8 | April 12, 2018 18:44 |
Issues installing paraVeiw/paraFoam | Creul91 | OpenFOAM Installation | 1 | October 4, 2014 14:05 |