Page 1 of 1

[CAMB]: Makefile gives \"No rule to make target ''Marti

Posted: July 20 2017
by Bradley Shapiro
I'm trying to set up CAMB (on a Mac, which may be relevant), but every time I run the makefile I get an error:

Code: Select all

No rule to make target `Matrix_utils.o', needed by `camb'.  Stop.
I haven't moved anything around, so Matrix_utils is in the same directory it came in, i.e. the same directory as Makefile and Makefile_main. So I'm not sure what the problem is. Any advice would be greatly appreciated.

Re: [CAMB]: Makefile gives \\\"No rule to make target '

Posted: July 21 2017
by Antony Lewis
Something to do with the upper case .F90? In any case you don't need MatrixUtils unless you compile bispectrum code defining FISHER.
Try compiling it manually first?

[CAMB]: Makefile gives \\\"No rule to make target ''''M

Posted: March 05 2018
by Shulei Ni
Hi, Antony. I have the same problem.
I want to compile bispectrum code, and I set "FISHER = Y " in Makefile.
I run "make all", and I get the same error.

Think you :)

Re: [CAMB]: Makefile gives \\\\\\\"No rule to make targ

Posted: March 09 2018
by Antony Lewis
In the Makefile change the line to

EXTCAMBFILES = $(OUTPUT_DIR)/Matrix_utils.o