|
[Sponsors] |
February 19, 2018, 10:55 |
c Makefile compilation by wmake
|
#1 |
New Member
Juan Blanco
Join Date: May 2017
Posts: 12
Rep Power: 9 |
Hello,
I am trying to compile some .c files which have its own Makefile in OpenFOAM 5.0 but the wmake doesn't recognize it. How can I make it to read it? Thank you. |
|
February 22, 2018, 06:41 |
|
#2 |
Member
Anurag
Join Date: Aug 2014
Location: Germany
Posts: 57
Rep Power: 12 |
I would suggest you refer to the Allwmake script that comes with any non-trivial solver in OpenFOAM. For example, multiphaseEulerFoam.
Using the example of the aforementioned script, you will first need to use wmake to compile the utility/libraries in the sub-directories, then link them in your solver's make options and then run wmake in your solver root directory. |
|
February 22, 2018, 12:05 |
|
#3 |
New Member
Juan Blanco
Join Date: May 2017
Posts: 12
Rep Power: 9 |
Thank you. I've tried the way you described and it does compile the .c files but still doesn't follow the Makefile instructions.
|
|
February 23, 2018, 07:42 |
|
#4 |
Member
Anurag
Join Date: Aug 2014
Location: Germany
Posts: 57
Rep Power: 12 |
In this case please upload the example. Or at the very least, post the contents of your Make>files, Make>options and the directory structure. Without this I would not be able to help you.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam 1.6-ext - error ./Allwmake in /src | preibie | OpenFOAM Installation | 14 | June 14, 2011 06:57 |
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 | flakid | OpenFOAM Installation | 16 | December 28, 2010 09:48 |
Problems Installing OF 1.6 32 bit | bucksfan | OpenFOAM Installation | 19 | August 4, 2009 02:36 |
OpenFOAM15 installables are incomplete problem with paraFoam | tryingof | OpenFOAM Bugs | 17 | December 7, 2008 05:41 |
[OpenFOAM] ParaFoam error message | joey | ParaView | 1 | October 2, 2006 14:28 |