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

[cfMesh] how to install on bash for windows 10

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 18, 2017, 19:47
Default how to install on bash for windows 10
  #1
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 286
Blog Entries: 6
Rep Power: 17
student666 is on a distinguished road
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
but If I list the opt directory I can see that there's the wmake folder:
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
and

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
Please, can someone help me?

Regards.
student666 is offline   Reply With Quote

Old   April 19, 2017, 01:30
Default
  #2
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 25
me3840 is on a distinguished road
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.
me3840 is offline   Reply With Quote

Old   April 19, 2017, 07:46
Default
  #3
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 286
Blog Entries: 6
Rep Power: 17
student666 is on a distinguished road
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
student666 is offline   Reply With Quote

Old   December 23, 2019, 07:00
Default
  #4
Member
 
giovanni
Join Date: Sep 2017
Posts: 50
Rep Power: 9
gian93 is on a distinguished road
hi I resume this post because I have a similar problem. Where I can found the complete instruction to run cfMesh on wsl?
thanks
gian93 is offline   Reply With Quote

Old   December 27, 2019, 17:05
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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/
__________________
wyldckat 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
[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


All times are GMT -4. The time now is 15:50.