|
[Sponsors] |
February 10, 2021, 13:18 |
make Installation for MacOS
|
#1 |
New Member
Kim Best
Join Date: Jan 2021
Posts: 20
Rep Power: 5 |
Hi,
Hi I'm new to openFoam and coding with bash in general and I've run into some problems running the case tutorials which use code streams to compile. When I use ./Allrun on these cases, I get the error: No wmake command found ... cannot compile I installed make using homebrew (by simply putting brew install make into the command window) but this hasn't made a difference and openFoam doesn't seem to recognise I've installed make for it to run wmake. I'm wondering if anyone might be able to give me a bit of help with this as I've been trying to solve this for quite a few days now and havn't got anywhere. To be honest I think this is because I'm pretty out of my depth with some of the bash knowledge so it's quite hard for me to understand what I need to do. I think it has something to do with make not being fully installed for some reason? Or maybe because I need to move the make folder to a specific location? Any help would really really be appreciated for this newbie! By the way, I installed openfoam with docker and am running on macOs 10.14.6 |
|
February 10, 2021, 16:24 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
Hi,
Would you consider to dive into the build wiki for the installation? Did you ensure that your installation is complete? Please check your installation by running foamInstallationTest. Did you source OpenFOAM environment before executing "./Allrun" which contains OpenFOAM commands?
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
February 11, 2021, 09:24 |
|
#3 |
New Member
Kim Best
Join Date: Jan 2021
Posts: 20
Rep Power: 5 |
Hi,
I didn't use the wiki installation as the openfoam.com website explicitly recommeds to install via docker. I implemented the instructions here relogiously (https://www.openfoam.com/download/in...binary-mac.php). It also says at the bottom that all the code should be compiled by docker, ie. "The Docker environment contains a full OpenFOAM development environment so all Allwmake, wmake, wclean etc. commands work (it is running the actual environment OpenFOAM was compiled in!) " , and: " mounts the home directory of the user with read/write access optionally channels the graphics sets up the OpenFOAM environment." When I run foamInstallationTest in terminal, it tells me I am missing ThirdParty, and that wmake is uninstalled. It also says: [env variable unset] next to $WM_DIR . Do you think there is a way for me to sort this issue while continuing with Docker, as I suspect if i go down the wiki installation way I will create more errors for myself. I have also installed the mac command line tools so I would have thought docker would be able to compile wmake from them. |
|
February 26, 2021, 12:41 |
An updated installation guide
|
#4 |
New Member
bushra chet
Join Date: Dec 2020
Location: İstanbul, Turkey
Posts: 3
Rep Power: 6 |
Hi,
I too lost among several installation guides. Firstly i installed Docker then removed due to advices about installation from source. Secondly, with the aid of an obsolete guide (but it became life-saver), i installed macports and paraview. For OF installation, i cloned foam-extend-4. Then step of "edit the bashrc" did not work. The default shell is neither bash nor csh, it's zsh. Should I install the bash shell? Could anyone make it clear? Bushra Last edited by bushra; March 1, 2021 at 04:28. |
|
March 3, 2021, 10:49 |
|
#5 | |
New Member
Kim Best
Join Date: Jan 2021
Posts: 20
Rep Power: 5 |
Quote:
Hi Bushra, Did you manage to do the installation successfully? I am still using the docker installation but I don't want to begin with installing from source unless I know it can definitely work properly. Kim |
||
March 4, 2021, 16:52 |
|
#6 |
New Member
bushra chet
Join Date: Dec 2020
Location: İstanbul, Turkey
Posts: 3
Rep Power: 6 |
No Kim, I could not install yet. I agree with you, continue with docker.
|
|
March 5, 2021, 06:26 |
|
#7 | |
New Member
Kim Best
Join Date: Jan 2021
Posts: 20
Rep Power: 5 |
Quote:
Okay thanks for the update. I think with docker most of the functionality is retained and it's only a few specific things which don't work, namely cases using codestreams and the fvOptions utility (which is what I'm trying to sort now). |
||
March 6, 2021, 04:41 |
|
#8 | |
New Member
bushra chet
Join Date: Dec 2020
Location: İstanbul, Turkey
Posts: 3
Rep Power: 6 |
Quote:
Since I have any more time to start CFD analysis, I'm trying to install from source. The problem may be caused by the shell of terminal that's zsh for me, while guides explain steps with bash. |
||
March 6, 2021, 07:39 |
|
#9 | |
New Member
Kim Best
Join Date: Jan 2021
Posts: 20
Rep Power: 5 |
Quote:
I see. I think now instead I am going to pursue running OF with amazon web services via remote desktop instead, as I think that will be more error free. I have now switched to using CFDDFC on amazon's web services to run my simulations. I can confirm that there is something wrong with the mac installation files, as I can now run the simulations perfectly with my chosen geometry. Kim Last edited by KimBest; March 10, 2021 at 08:19. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Two phase flow in porous medium | Milaad | OpenFOAM | 7 | July 1, 2024 06:08 |
macOSX installation issues | fulcrum64th | SU2 Installation | 2 | May 29, 2019 13:14 |
fireFoam installation | Roman1 | OpenFOAM Installation | 2 | September 27, 2013 04:05 |
compiling firefoam | Farshad_Noravesh | OpenFOAM | 27 | December 24, 2012 05:21 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 03:32 |