Page 1 of 1

Compiling Jan 2017 camb with HyRec

Posted: July 12 2017
by Tristan L Smith
Hello all,

I am trying to compile HyRec along with the latest (Jan 2017) version of camb (using gfortran) but I keep running into the following error message
Undefined symbols for architecture x86_64:
"_hyrec_tm_", referenced from:
___recombination_MOD_recombination_tm in hyrec.o
"_hyrec_xe_", referenced from:
___recombination_MOD_recombination_xe in hyrec.o
"_rec_build_history_camb_", referenced from:
___recombination_MOD_recombination_init in hyrec.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
Any suggestions on how to modify the Makefile and/or the linking code would be greatly appreciated!

Compiling Jan 2017 camb with HyRec

Posted: August 01 2017
by Luke Hart
So I haven't run CAMB with HyRec before but I have modified it for CosmoRec. Have you checked that your library is up to date? So have you cleaned out and rebuilt your HyRec library and then tried building CAMB with it??