|
[Sponsors] |
July 10, 2004, 01:39 |
Problems with compiling CFD code!
|
#1 |
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 |
|
July 12, 2004, 12:28 |
Re: Problems with compiling CFD code!
|
#2 |
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 |
|
|
|
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 |