CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Main CFD Forum (
-   -   Problems with compiling CFD code! (

ravi July 10, 2004 00:39

Problems with compiling CFD code!
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,


Jarmo Monttinen July 12, 2004 11:28

Re: Problems with compiling CFD code!
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

All times are GMT -4. The time now is 05:48.