Compiling Jan 2017 camb with HyRec

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Tristan L Smith
Posts: 25
Joined: November 14 2005
Affiliation: Swarthmore
Contact:

Compiling Jan 2017 camb with HyRec

Post by Tristan L Smith » July 12 2017

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!

Luke Hart
Posts: 70
Joined: July 13 2015
Affiliation: University of Manchester

Compiling Jan 2017 camb with HyRec

Post by Luke Hart » August 01 2017

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??

Post Reply