CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Problem with compiling new solver (https://www.cfd-online.com/Forums/openfoam-programming-development/127863-problem-compiling-new-solver.html)

palazi88 December 23, 2013 21:43

Problem with compiling new solver
 
1 Attachment(s)
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?

Bernhard December 24, 2013 04:14

Did you run a proper wclean first?

Then, check Make/options and Make/files.

palazi88 December 24, 2013 19:52

Thanks for fast reply!
Making "wclean" was not a problem but...:o ... 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


All times are GMT -4. The time now is 07:03.