CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

Problems with compiling CFD code!

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

LinkBack Thread Tools Display Modes
Old   July 10, 2004, 00:39
Default Problems with compiling CFD code!
Posts: n/a
I am trying to compile a CFD code which I downloaded. It gives the following message when I do a 'make' at the command prompt shell :

cd /datarun1/brravi/OTHERS/ISSAC/src/main;\ make -f "HOME=/home/brravi" "SRC=/datarun1/brravi/OTHERS/ISSAC/src" "FFLAGS=-O2" \

"FC=f77" "CPPFLAGS=-DCPU_TIME";\ ln *.o /datarun1/brravi/OTHERS/ISSAC/src make[1]: Entering directory `/datarun1/brravi/OTHERS/ISSAC/src/main' make[1]: *** No rule to make target `main.F', needed by `main.o'. Stop. make[1]: Leaving directory `/datarun1/brravi/OTHERS/ISSAC/src/main' ln: accessing `*.o': No such file or directory make: *** [all] Error 1

Can somebody help me to figure is out?

thanks in advance,

  Reply With Quote

Old   July 12, 2004, 11:28
Default Re: Problems with compiling CFD code!
Jarmo Monttinen
Posts: n/a
Been working on something similar for a couple of weeks.... try without the optimization flag -O2 at first and turn on a debugger if you have one.

There APPEARS to be a problem with the makefile, however this is probably not the case. Check that your OS is up to date and you have the right versions of other programs used in the process. (gmake?) Was the code written for Linux and you are trying to use it under Irix?

Just some suggestions based on the experiences I've had. This all assumes that you've run the config properly, if that is not the case, that is the most likely source of error.

I hope this helps.

-- Jarmo
  Reply With Quote


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
CFD Design...The CFD Future John C. Chien Main CFD Forum 20 November 20, 2015 00:40
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 0 August 5, 2011 16:02
A simple CFD code for teaching basic CFD? Christoph Lund Main CFD Forum 13 September 14, 2005 04:36
ASME CFD Symposium Chris Kleijn Main CFD Forum 0 August 22, 2001 06:41
PC vs. Workstation Tim Franke Main CFD Forum 5 September 29, 1999 15:01

All times are GMT -4. The time now is 08:26.