|
[Sponsors] |
[cfMesh] how to install on bash for windows 10 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 18, 2017, 19:47 |
how to install on bash for windows 10
|
#1 |
Senior Member
|
Hi,
according to these release notes, I succefully downloaded and installed OF on bash into windows 10. https://openfoam.org/download/windows-10/ Is there a way to install cfMesh as well as a similar way to above link? If I run Allwmake script I have following errors: Code:
wmake libso meshLibrary /opt/openfoam-dev/wmake/wmake: row 405: make: command not found /opt/openfoam-dev/wmake/wmake: row 408: make: command not found /opt/openfoam-dev/wmake/wmake: row 434: make: command not found /opt/openfoam-dev/wmake/wmake: row 465: exec: make: command not found /opt/openfoam-dev/wmake/wmake: row 316: make: comando non trovato wmake utilities /opt/openfoam-dev/wmake/wmake: row 316: make: comando non trovato Code:
winuntu@DESKTOP-PKLACF4:/opt/openfoam-dev$ tree -L 1 . ├── Allwmake ├── applications ├── bin ├── build-stamp ├── COPYING ├── doc ├── etc ├── platforms ├── README.org ├── README_scotch ├── src ├── tutorials └── wmake Code:
winuntu@DESKTOP-PKLACF4:/opt/openfoam-dev/wmake$ tree -L 1 . ├── makefiles ├── platforms ├── rules ├── scripts ├── src ├── wclean ├── wcleanLnIncludeAll ├── wcleanPlatform ├── wdep ├── wmake ├── wmakeCheckPwd ├── wmakeCollect ├── wmakeFilesAndOptions ├── wmakeLnInclude ├── wmakeLnIncludeAll ├── wmakePrintBuild ├── wmakeScheduler ├── wmakeSchedulerUptime ├── wrmdep └── wrmo Regards. |
|
April 19, 2017, 01:30 |
|
#2 |
Senior Member
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 25 |
I think the problem is that you're missing the binary or alias for make. You can find out easily by running:
which make at the terminal. If it returns an error, then you need to install make. No idea how to do this on Winbash. Does it have apt? You should be able to install it from there. If make is installed but the command 'make' is not an alias to its binary you may have to create that alias. Obligatory "everything is better on Linux, just use Linux" comment. |
|
April 19, 2017, 07:46 |
|
#3 |
Senior Member
|
Hi thanks for the hint. I agree with you about linux, but it's a company workstation and it must have Windows as main OS. I'll check your suggestion.
Regards Sent from my ASUS_X008D using CFD Online Forum mobile app |
|
December 23, 2019, 07:00 |
|
#4 |
Member
giovanni
Join Date: Sep 2017
Posts: 50
Rep Power: 9 |
hi I resume this post because I have a similar problem. Where I can found the complete instruction to run cfMesh on wsl?
thanks |
|
December 27, 2019, 17:05 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: When compiling custom code to work with OpenFOAM, you need to install the packages needed for development as well. For example, the packages needed for OpenFOAM from the OpenFOAM Foundation are listed here: https://openfoam.org/download/source...r-compilation/
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops | avinashjagdale | OpenFOAM Meshing & Mesh Conversion | 53 | March 8, 2019 10:42 |
[OpenFOAM.com] Installation of OpenFOAM 1.7.1 on Ubuntu 16.04 | MM_Khan | OpenFOAM Installation | 11 | September 3, 2017 10:22 |
[OpenFOAM.org] Can't find files when install OF2.1.1 on Mac | hewei | OpenFOAM Installation | 10 | June 3, 2016 07:50 |
Unable to install OpenFOAM 1.6-ext | Maimouna | OpenFOAM Installation | 23 | May 8, 2014 06:47 |
install OF2.1.1@Fedora17, error--> bash: module: command not found | TaPantaRei | OpenFOAM Installation | 2 | September 16, 2012 12:13 |