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

OF2.2.2 in Mac 10.9_error of compiling new solver

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 25, 2014, 10:59
Default OF2.2.2 in Mac 10.9_error of compiling new solver
  #1
New Member
 
Ran Sui
Join Date: Jul 2012
Location: Munich
Posts: 2
Rep Power: 0
Ran Sui is on a distinguished road
Hello dear all,

Thanks to the great work of http://openfoamwiki.net/index.php/In...OpenFOAM_2.2.2, I have successfully installed OpenFOAM v2.2.2 in my Mac 10.9. I did everything exactly the same as the instruction, and tested fine with the simple tutorial 'cavity'.

Then comes the error when I tried to implement my own solver and library. I firstly just copied a icoFoam to my RUN directory and modified the make/files to

myIcoFoam.C
EXE = $(FOAM_USER_APPBIN)/myIcoFoam

and then wclean, wmake.
Then I get the error:
make: *** No rule to make target `myIcoFoam.dep', needed by `Make/darwinIntel64Gcc46DPOpt/dependencies'. Stop.

Any help or hint will be greatly appreciated. Thanks!

Cheers,
Ran

Last edited by Ran Sui; January 25, 2014 at 12:24.
Ran Sui is offline   Reply With Quote

Old   January 25, 2014, 11:51
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,110
Rep Power: 19
alexeym will become famous soon enoughalexeym will become famous soon enough
Hi,

And did you rename icoFoam.C to myIcoFoam.C?
alexeym is offline   Reply With Quote

Old   January 25, 2014, 12:00
Default
  #3
New Member
 
Ran Sui
Join Date: Jul 2012
Location: Munich
Posts: 2
Rep Power: 0
Ran Sui is on a distinguished road
Hi Alexey,

Merci beaucoup! That's it!

I'm just too nervous with the new OS and the OF installation, and didn't notice such a stupid mistake.

Thanks,
Ran
Ran Sui is offline   Reply With Quote

Reply

Tags
mac, self solver error

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MAC Vs SIMPLE Solver? Vino Main CFD Forum 0 October 27, 2013 07:49
MAC Solver Source Code Page Updated Maciej Matyka Main CFD Forum 0 July 6, 2001 06:41
MAC Solver Source Code Maciej Matyka Main CFD Forum 0 July 4, 2001 05:47
More info about MAC solver Maciej Matyka Main CFD Forum 3 June 13, 2001 04:11
results of my MAC solver Maciej Matyka Main CFD Forum 4 January 5, 2001 18:38


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