CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Problem with compiling new solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 23, 2013, 21:43
Thumbs down Problem with compiling new solver
  #1
New Member
 
Karol Kamiński
Join Date: Dec 2012
Posts: 9
Rep Power: 13
palazi88 is on a distinguished road
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?
Attached Files
File Type: txt error.txt (26.0 KB, 3 views)
palazi88 is offline   Reply With Quote

Old   December 24, 2013, 04:14
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
Bernhard is on a distinguished road
Did you run a proper wclean first?

Then, check Make/options and Make/files.
Bernhard is offline   Reply With Quote

Old   December 24, 2013, 19:52
Default
  #3
New Member
 
Karol Kamiński
Join Date: Dec 2012
Posts: 9
Rep Power: 13
palazi88 is on a distinguished road
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
palazi88 is offline   Reply With Quote

Reply

Tags
solver compilation error


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
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 09:52
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Solver problem in Oscillating Plate tutorial vovogoal CFX 1 November 22, 2011 09:54
Problem in Compiling the solver m.maneshi OpenFOAM Running, Solving & CFD 4 November 3, 2010 02:07
problem with developing new LES solver Edison_Ge OpenFOAM 2 June 18, 2009 01:26


All times are GMT -4. The time now is 16:57.