CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Problems with compiling CFD code!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2004, 01:39
Default Problems with compiling CFD code!
  #1
ravi
Guest
 
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 main.mk "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,

ravi
  Reply With Quote

Old   July 12, 2004, 12:28
Default Re: Problems with compiling CFD code!
  #2
Jarmo Monttinen
Guest
 
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

Reply


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


All times are GMT -4. The time now is 15:13.