CosmoMC install error

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
José Fernando de Jesus
Posts: 2
Joined: March 20 2008
Affiliation: IAG-USP

CosmoMC install error

Post by José Fernando de Jesus » March 21 2008

Hi, everybody.

I am trying to install CosmoMC, but when I try the 'make all' in the CAMB directory, I have the following sequence of errors:

[jfernando@proex1 camb]$ make all
ifort -O2 -ip -W0 -WB -fpp2 -vec_report0 utils.o subroutines.o inifile.o power_tilt.o recfast.o modules.o bessels.o equations.o halofit.o lensing.o cmbmain.o camb.o inidriver.F90 -o camb
cmbmain.o: In function `cambmain_mp_integratesourcesbessels_.':
cmbmain.f90:(.text+0x552): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x558): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x595): undefined reference to `timesteps_mp_timetotimestep_'
cmbmain.f90:(.text+0x5ad): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x5b3): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x5be): undefined reference to `timesteps_mp_nstep_'
cmbmain.f90:(.text+0x6b1): undefined reference to `timesteps_mp_nstep_'
cmbmain.f90:(.text+0x6e3): undefined reference to `timesteps_mp_nr_'
cmbmain.f90:(.text+0x724): undefined reference to `timesteps_mp_nstep_'
cmbmain.f90:(.text+0x72b): undefined reference to `timesteps_mp_nreg_'
cmbmain.f90:(.text+0x75d): undefined reference to `timesteps_mp_dtaureg_'
cmbmain.f90:(.text+0x803): undefined reference to `timesteps_mp_nr_'
cmbmain.f90:(.text+0x844): undefined reference to `timesteps_mp_nreg_'
cmbmain.f90:(.text+0x86c): undefined reference to `timesteps_mp_dtaureg_'
cmbmain.f90:(.text+0x9f7): undefined reference to `timesteps_mp_nstep_'
cmbmain.f90:(.text+0xa2d): undefined reference to `timesteps_mp_nr_'
cmbmain.f90:(.text+0xa6f): undefined reference to `timesteps_mp_nstep_'
cmbmain.f90:(.text+0xa76): undefined reference to `timesteps_mp_nreg_'
cmbmain.f90:(.text+0xaa8): undefined reference to `timesteps_mp_dtaureg_'
cmbmain.f90:(.text+0xbd0): undefined reference to `timesteps_mp_nr_'
cmbmain.f90:(.text+0xc06): undefined reference to `timesteps_mp_nreg_'
cmbmain.f90:(.text+0xc2e): undefined reference to `timesteps_mp_dtaureg_'
cmbmain.f90:(.text+0xda6): undefined reference to `timesteps_mp_timetotimestep_'
cmbmain.f90:(.text+0xdc2): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0xde5): undefined reference to `timesteps_mp_atau0_'
cmbmain.o: In function `cambmain_mp_dorangeinttensor_.':
cmbmain.f90:(.text+0x11c8): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x11e3): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x1331): undefined reference to `timesteps_mp_atau0_'
cmbmain.o:cmbmain.f90:(.text+0x1337): more undefined references to `timesteps_mp_atau0_' follow
cmbmain.o: In function `cambmain_mp_doflatintegration_.':
cmbmain.f90:(.text+0x2a9a): undefined reference to `timesteps_mp_timetotimestep_'
cmbmain.f90:(.text+0x2aaa): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x2aca): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x2bf1): undefined reference to `timesteps_mp_timetotimestep_'
cmbmain.f90:(.text+0x2c00): undefined reference to `timesteps_mp_timetotimestep_'
cmbmain.f90:(.text+0x2c7e): undefined reference to `timesteps_mp_dtau2_'
cmbmain.f90:(.text+0x2c89): undefined reference to `timesteps_mp_dtau2_'
cmbmain.f90:(.text+0x2ddb): undefined reference to `timesteps_mp_timetotimestep_'
cmbmain.f90:(.text+0x2dea): undefined reference to `timesteps_mp_timetotimestep_'
cmbmain.f90:(.text+0x2e5b): undefined reference to `timesteps_mp_dtau2_'
cmbmain.f90:(.text+0x2e66): undefined reference to `timesteps_mp_dtau2_'
cmbmain.o: In function `cambmain_mp_calcvectorsources_':
cmbmain.f90:(.text+0x3728): undefined reference to `timesteps_mp_nstep_'
cmbmain.f90:(.text+0x375b): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x3768): undefined reference to `timesteps_mp_atau0_'
cmbmain.o: In function `cambmain_mp_calctensorsources_':
cmbmain.f90:(.text+0x398a): undefined reference to `timesteps_mp_nstep_'
cmbmain.f90:(.text+0x39bd): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x39ca): undefined reference to `timesteps_mp_atau0_'
cmbmain.o: In function `cambmain_mp_getsourcemem_':
cmbmain.f90:(.text+0x3c40): undefined reference to `timesteps_mp_nstep_'
cmbmain.f90:(.text+0x3e28): undefined reference to `timesteps_mp_nstep_'
cmbmain.o: In function `cambmain_mp_cmbmain_':
cmbmain.f90:(.text+0x3fd9): undefined reference to `timesteps_mp_nstep_'
cmbmain.f90:(.text+0x41b7): undefined reference to `timesteps_mp_nstep_'
cmbmain.o: In function `cambmain_mp_dosourcek_.':
cmbmain.f90:(.text+0x49b9): undefined reference to `timesteps_mp_nstep_'
cmbmain.f90:(.text+0x49e7): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x49f4): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x4c7d): undefined reference to `timesteps_mp_nstep_'
cmbmain.f90:(.text+0x4cab): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x4cb8): undefined reference to `timesteps_mp_atau0_'
cmbmain.o: In function `cambmain_mp_calcscalarsources_.':
cmbmain.f90:(.text+0x4fb4): undefined reference to `timesteps_mp_nstep_'
cmbmain.f90:(.text+0x5017): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x501f): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x5238): undefined reference to `timesteps_mp_nstep_'
cmbmain.f90:(.text+0x5251): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x525b): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x5427): undefined reference to `timesteps_mp_nstep_'
cmbmain.f90:(.text+0x5436): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x543c): undefined reference to `timesteps_mp_atau0_'
cmbmain.o: In function `cambmain_mp_sourcetotransfers_.':
cmbmain.f90:(.text+0x5593): undefined reference to `timesteps_mp_nstep_'
cmbmain.f90:(.text+0x595c): undefined reference to `timesteps_mp_nstep_'
cmbmain.o: In function `cambmain_mp_interpolatesources_.':
cmbmain.f90:(.text+0x5abe): undefined reference to `timesteps_mp_nstep_'
cmbmain.f90:(.text+0x5b7f): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x5b9c): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x63c6): undefined reference to `timesteps_mp_n1_'
cmbmain.f90:(.text+0x643e): undefined reference to `timesteps_mp_nstep_'
cmbmain.f90:(.text+0x6445): undefined reference to `timesteps_mp_atau0_'
cmbmain.o: In function `cambmain_mp_nonlinearlensing_':
cmbmain.f90:(.text+0x68da): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x68e5): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x6a8e): undefined reference to `timesteps_mp_nstep_'
cmbmain.f90:(.text+0x6aad): undefined reference to `timesteps_mp_atau0_'
cmbmain.f90:(.text+0x6aec): undefined reference to `timesteps_mp_atau0_'
cmbmain.o: In function `cambmain_mp_initsourceinterpolation_':
cmbmain.f90:(.text+0x9bfc): undefined reference to `timesteps_mp_nstep_'
cmbmain.o: In function `cambmain_mp_integrationvars_init_.':
cmbmain.f90:(.text+0x9d52): undefined reference to `timesteps_mp_nstep_'
cmbmain.f90:(.text+0x9d91): undefined reference to `timesteps_mp_nstep_'
/tmp/ifortWAnyOO.o: In function `MAIN__':
inidriver.F90:(.text+0x2fe0): undefined reference to `camb_cleanup_'
make: ** [camb] Erro 1

I am using compiler ifort 10.1.012 on a Fedora 8 Linux machine. Would you have some suggestion for me to get rid of these errors?
Thanks in advance.

José Fernando de Jesus
Posts: 2
Joined: March 20 2008
Affiliation: IAG-USP

CosmoMC install error

Post by José Fernando de Jesus » March 25 2008

Hi, I have solved the above problem by downloading CAMB separately and installing it on the cosmomc/camb directory. Now, when I try to install cosmomc by doing make all on the source directory, I have the following error:

[jfernando@proex1 source]$ make all
make: *** Sem regra para processar o alvo `/read_archive_map.o', necessário por `cosmomc'. Pare.

Which means...no rule to process the target `/read_archive_map.o', needed by cosmomc. Stop.
It is not solved by doing 'gmake all'. I have the wmap 5 software properly compiled on the right directory. What kind of problem should be this one? Could you please give me any suggestions?

Thank you.

Post Reply