|
[Sponsors] |
December 23, 2013, 22:43 |
Problem with compiling new solver
|
#1 |
New Member
Karol Kamiński
Join Date: Dec 2012
Posts: 9
Rep Power: 14 |
Hello!
Some time ago I created new solver, which worked on computer (so code is for sure OK), and now I tried to compile it on my personal computer. But after going to apropriate folder and writing command: "bash ./Allwmake"
I got loads of warnings and error. Below in file you can find all messages from shell. Last line is in polish language: "make: *** Brak reguł do wykonania obiektu `chtMRSimpleFSource'. Stop." and it means: "make: *** No rules to make a target `chtMRSimpleFSource'. Stop." I also made a test: I copied other OpenFoam solver, and I changed only it's name. After that I tried to compile this "new" solver, but I got very similar warnings and errors. I have no idea what's going on. Is there anyone who can help me with this problem? It's really annoying :/ Thanks for all help! [edited] I forgot to add: I am using 2.1.x OF version Anyway, now I see, that almost all warning and errors come from libfiniteVolume.so, maybe it's a problem with path to fvCFD.H file? If yes, how can I change it? |
|
December 24, 2013, 05:14 |
|
#2 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
Did you run a proper wclean first?
Then, check Make/options and Make/files. |
|
December 24, 2013, 20:52 |
|
#3 |
New Member
Karol Kamiński
Join Date: Dec 2012
Posts: 9
Rep Power: 14 |
Thanks for fast reply!
Making "wclean" was not a problem but... ... I made one other idiotic error... I just thought that I need to write command "wmake <name of new solver>" when I want to compile a new solver... I forgot that I need only "wmake" command, when I am in apropriate folder. Because name of my folder and name of my new solver were different, so it didn't work. Now everything works fine. Sorry for wasting your time |
|
Tags |
solver compilation error |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 10:52 |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
Solver problem in Oscillating Plate tutorial | vovogoal | CFX | 1 | November 22, 2011 10:54 |
Problem in Compiling the solver | m.maneshi | OpenFOAM Running, Solving & CFD | 4 | November 3, 2010 03:07 |
problem with developing new LES solver | Edison_Ge | OpenFOAM | 2 | June 18, 2009 02:26 |