I am trying to test the latest COSMOMC with the matter power spectrum datasets and the BAO data but I am getting the following error when I compile out of the box with EXTDATA = LRG (and of course adding the appropriate paths to GSL/LAPACK/CFITSIO etc):
This error seems to be coming from the subroutine LSS_LRG_mpklike_init() found in mpk.f90.$ ./cosmomc.exe ./params.ini
Random seeds: 20197, 23610 rand_inst: 0
reading: lrg_2009
reading: data/lrgDR7_kbands_kmax02kmin02_maxLv2.ALL_MAGCOVv3.txt
reading: data/lrgDR7_windows_kmax02kmin02_maxLv2.ALL_MAGCOVv3.txt
trying to read this many points 250
reading: data/lrgDR7_zerowinin_kmax02kmin02_maxLv2.ALL_MAGCOVv3.txt
reading: data/lrgDR7_zerowindat_kmax02kmin02_maxLv2.ALL_MAGCOVv3.txt
reading: data/lrgDR7_cov_kmax02kmin02_maxLv2.ALL_MAGCOVv3.txt
Failed a1, a2: -1.1482000000000001 8.2409999999999997
pos 8.2409999999999997 8.2397702500000012
The relevant parts of the params.ini file are (everything not shown, please consider it to be the default setting):
Code: Select all
#filenames for matter power spectrum datasets, incl twodf
mpk_numdatasets = 1
mpk_dataset1 = data/lrgDR7kmax02kmin02newmaxLv2ALL_MAGCOVv3.dataset
#mpk_dataset1 = data/sdss_lrgDR4.dataset
#mpk_dataset1 = data/2df_2005.dataset
#filenames for BAO data sets
bao_numdatasets = 1
bao_dataset1 = data/wigglez_bao.dataset
#bao_dataset1 = data/sdss_bao.dataset
use_CMB = T
use_HST = F
use_mpk = T
use_BAO = T
use_clusters = F
use_BBN = F
use_Age_Tophat_Prior = F
use_SN = F
use_lya = F
use_min_zre = 0
mpk: edit makefile to have "EXTDATA = LRG" to inlude LRGs
Just some more details, I am compiling on Windows 7 under Cygwin, with gcc 4.3.4 but I get the same error on a linux machine with gcc 4.1.2. When I use just the CMB/SnIa/HST data Cosmomc works as expected.
Since I am compiling and running Cosmomc out of the box with all the default params etc I am not sure what is going on. Am I missing something?
Many thanks in advance for any help!
Cheers,
Savvas