[cosmoMC] - minor problem with the current master branch

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Ira *Wolfson
Posts: 64
Joined: January 24 2013
Affiliation: BGU
Contact:

[cosmoMC] - minor problem with the current master branch

Post by Ira *Wolfson » June 26 2017

Hi,

I have encountered a minor problem with the master branch code.

I am running cosmomc with the attached .ini file.

freeNS.ini

I get the following error:

Code: Select allp>

forrtl: severe (173): A pointer passed to DEALLOCATE points to an object that cannot be deallocated
The reason this is minor, is that I can still run it again (having set checkpoint=T) and the run will converge eventually.

However it is worth taking a look at...

– Ira

Ira *Wolfson
Posts: 64
Joined: January 24 2013
Affiliation: BGU
Contact:

[cosmoMC] - minor problem with the current master branch

Post by Ira *Wolfson » June 26 2017

Spoke to soon...

The fault persists.
However, so far using cosmomc_debug it does not break.

Ira *Wolfson
Posts: 64
Joined: January 24 2013
Affiliation: BGU
Contact:

[cosmoMC] - minor problem with the current master branch

Post by Ira *Wolfson » June 26 2017

here it is

Code: Select allp>

forrtl: severe (173): A pointer passed to DEALLOCATE points to an object that cannot be deallocated
Image              PC                Routine            Line        Source             
cosmomc_debug      0000000000BA5502  Unknown               Unknown  Unknown
cosmomc_debug      0000000000467915  objectlists_mp_fr         274  ObjectLists.f90
cosmomc_debug      0000000000474812  objectlists_mp_th         496  ObjectLists.f90
cosmomc_debug      0000000000688D9B  samplecollector_m         302  SampleCollector.f90
cosmomc_debug      000000000068F601  samplecollector_m         446  SampleCollector.f90
cosmomc_debug      000000000064947B  montecarlo_mp_tch         148  MCMC.f90
cosmomc_debug      000000000069DB4F  generalsetup_mp_t         137  GeneralSetup.f90
cosmomc_debug      00000000008ED9B0  MAIN__                    268  driver.F90
cosmomc_debug      0000000000410A5E  Unknown               Unknown  Unknown
libc.so.6          00007F47F9F76F45  Unknown               Unknown  Unknown
cosmomc_debug      0000000000410969  Unknown               Unknown  Unknown
forrtl: error (69): process interrupted (SIGINT)
Image              PC                Routine            Line        Source             
cosmomc_debug      0000000000C8E245  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C8BE67  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C2ED24  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C2EB36  Unknown               Unknown  Unknown
cosmomc_debug      0000000000BB53A9  Unknown               Unknown  Unknown
cosmomc_debug      0000000000BBE4BE  Unknown               Unknown  Unknown
libpthread.so.0    00007FA79FAA4330  Unknown               Unknown  Unknown
cosmomc_debug      0000000000AE86A1  cambmain_mp_calcs        2177  cmbmain.f90
cosmomc_debug      0000000000A93E12  cambmain_mp_cltra         302  cmbmain.f90
cosmomc_debug      0000000000B15461  camb_mp_camb_tran          96  camb.f90
cosmomc_debug      00000000006D8AA1  calculator_camb_m         221  Calculator_CAMB.f90
cosmomc_debug      00000000006CF9E3  calclike_cosmolog          81  CalcLike_Cosmology.f90
cosmomc_debug      00000000008D63C8  calclike_mp_theor         308  calclike.f90
cosmomc_debug      00000000008CEA35  calclike_mp_getlo         146  calclike.f90
cosmomc_debug      0000000000647FD5  montecarlo_mp_tsa          94  MCMC.f90
cosmomc_debug      0000000000650939  montecarlo_mp_tfa         369  MCMC.f90
cosmomc_debug      00000000006490C0  montecarlo_mp_tch         144  MCMC.f90
cosmomc_debug      000000000069DB4F  generalsetup_mp_t         137  GeneralSetup.f90
cosmomc_debug      00000000008ED9B0  MAIN__                    268  driver.F90
cosmomc_debug      0000000000410A5E  Unknown               Unknown  Unknown
libc.so.6          00007FA79F3E6F45  Unknown               Unknown  Unknown
cosmomc_debug      0000000000410969  Unknown               Unknown  Unknown
forrtl: error (69): process interrupted (SIGINT)
Image              PC                Routine            Line        Source             
cosmomc_debug      0000000000C8E245  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C8BE67  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C2ED24  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C2EB36  Unknown               Unknown  Unknown
cosmomc_debug      0000000000BB53A9  Unknown               Unknown  Unknown
cosmomc_debug      0000000000BBE4BE  Unknown               Unknown  Unknown
libpthread.so.0    00007F26C4225330  Unknown               Unknown  Unknown
cosmomc_debug      0000000000970D0E  massivenu_mp_nu_r        1661  modules.f90
cosmomc_debug      00000000009AECB9  dtauda_                   243  equations_ppf.f90
cosmomc_debug      000000000092ABE1  rombint_                  148  subroutines.f90
cosmomc_debug      0000000000945F51  modelparams_mp_de         529  modules.f90
cosmomc_debug      0000000000946044  modelparams_mp_ti         538  modules.f90
cosmomc_debug      0000000000AA4DAE  cambmain_mp_initv         783  cmbmain.f90
cosmomc_debug      0000000000A9196D  cambmain_mp_cmbma         157  cmbmain.f90
cosmomc_debug      0000000000B156DB  camb_mp_camb_getr         137  camb.f90
cosmomc_debug      0000000000B14F6C  camb_mp_camb_gett          46  camb.f90
cosmomc_debug      00000000006D7B19  calculator_camb_m         191  Calculator_CAMB.f90
cosmomc_debug      00000000006CF3FB  calclike_cosmolog          77  CalcLike_Cosmology.f90
cosmomc_debug      00000000008D63C8  calclike_mp_theor         308  calclike.f90
cosmomc_debug      00000000008CEA35  calclike_mp_getlo         146  calclike.f90
cosmomc_debug      0000000000647FD5  montecarlo_mp_tsa          94  MCMC.f90
cosmomc_debug      0000000000650939  montecarlo_mp_tfa         369  MCMC.f90
cosmomc_debug      00000000006490C0  montecarlo_mp_tch         144  MCMC.f90
cosmomc_debug      000000000069DB4F  generalsetup_mp_t         137  GeneralSetup.f90
cosmomc_debug      00000000008ED9B0  MAIN__                    268  driver.F90
cosmomc_debug      0000000000410A5E  Unknown               Unknown  Unknown
libc.so.6          00007F26C3B67F45  Unknown               Unknown  Unknown
cosmomc_debug      0000000000410969  Unknown               Unknown  Unknown
forrtl: error (69): process interrupted (SIGINT)
Image              PC                Routine            Line        Source             
cosmomc_debug      0000000000C8E245  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C8BE67  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C2ED24  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C2EB36  Unknown               Unknown  Unknown
cosmomc_debug      0000000000BB53A9  Unknown               Unknown  Unknown
cosmomc_debug      0000000000BBE4BE  Unknown               Unknown  Unknown
libpthread.so.0    00007F98B6F29330  Unknown               Unknown  Unknown
cosmomc_debug      0000000000AE65CD  cambmain_mp_calcs        2174  cmbmain.f90
cosmomc_debug      0000000000A93E12  cambmain_mp_cltra         302  cmbmain.f90
cosmomc_debug      0000000000B15461  camb_mp_camb_tran          96  camb.f90
cosmomc_debug      00000000006D8AA1  calculator_camb_m         221  Calculator_CAMB.f90
cosmomc_debug      00000000006CF9E3  calclike_cosmolog          81  CalcLike_Cosmology.f90
cosmomc_debug      00000000008D63C8  calclike_mp_theor         308  calclike.f90
cosmomc_debug      00000000008CEA35  calclike_mp_getlo         146  calclike.f90
cosmomc_debug      0000000000647FD5  montecarlo_mp_tsa          94  MCMC.f90
cosmomc_debug      0000000000650939  montecarlo_mp_tfa         369  MCMC.f90
cosmomc_debug      00000000006490C0  montecarlo_mp_tch         144  MCMC.f90
cosmomc_debug      000000000069DB4F  generalsetup_mp_t         137  GeneralSetup.f90
cosmomc_debug      00000000008ED9B0  MAIN__                    268  driver.F90
cosmomc_debug      0000000000410A5E  Unknown               Unknown  Unknown
libc.so.6          00007F98B686BF45  Unknown               Unknown  Unknown
cosmomc_debug      0000000000410969  Unknown               Unknown  Unknown
forrtl: error (69): process interrupted (SIGINT)
Image              PC                Routine            Line        Source             
cosmomc_debug      0000000000C8E245  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C8BE67  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C2ED24  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C2EB36  Unknown               Unknown  Unknown
cosmomc_debug      0000000000BB53A9  Unknown               Unknown  Unknown
cosmomc_debug      0000000000BBE4BE  Unknown               Unknown  Unknown
libpthread.so.0    00007FEC51A95330  Unknown               Unknown  Unknown
cosmomc_debug      0000000000AE2A7D  cambmain_mp_calcs        2147  cmbmain.f90
cosmomc_debug      0000000000A93E12  cambmain_mp_cltra         302  cmbmain.f90
cosmomc_debug      0000000000B15461  camb_mp_camb_tran          96  camb.f90
cosmomc_debug      00000000006D8AA1  calculator_camb_m         221  Calculator_CAMB.f90
cosmomc_debug      00000000006CF9E3  calclike_cosmolog          81  CalcLike_Cosmology.f90
cosmomc_debug      00000000008D63C8  calclike_mp_theor         308  calclike.f90
cosmomc_debug      00000000008CEA35  calclike_mp_getlo         146  calclike.f90
cosmomc_debug      0000000000647FD5  montecarlo_mp_tsa          94  MCMC.f90
cosmomc_debug      0000000000650939  montecarlo_mp_tfa         369  MCMC.f90
cosmomc_debug      00000000006490C0  montecarlo_mp_tch         144  MCMC.f90
cosmomc_debug      000000000069DB4F  generalsetup_mp_t         137  GeneralSetup.f90
cosmomc_debug      00000000008ED9B0  MAIN__                    268  driver.F90
cosmomc_debug      0000000000410A5E  Unknown               Unknown  Unknown
libc.so.6          00007FEC513D7F45  Unknown               Unknown  Unknown
cosmomc_debug      0000000000410969  Unknown               Unknown  Unknown
forrtl: error (69): process interrupted (SIGINT)
Image              PC                Routine            Line        Source             
cosmomc_debug      0000000000C8E245  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C8BE67  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C2ED24  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C2EB36  Unknown               Unknown  Unknown
cosmomc_debug      0000000000BB53A9  Unknown               Unknown  Unknown
cosmomc_debug      0000000000BBE4BE  Unknown               Unknown  Unknown
libpthread.so.0    00007F83623AA330  Unknown               Unknown  Unknown
cosmomc_debug      0000000000ADFF5D  cambmain_mp_calcs        2141  cmbmain.f90
cosmomc_debug      0000000000A93E12  cambmain_mp_cltra         302  cmbmain.f90
cosmomc_debug      0000000000B15461  camb_mp_camb_tran          96  camb.f90
cosmomc_debug      00000000006D8AA1  calculator_camb_m         221  Calculator_CAMB.f90
cosmomc_debug      00000000006CF9E3  calclike_cosmolog          81  CalcLike_Cosmology.f90
cosmomc_debug      00000000008D63C8  calclike_mp_theor         308  calclike.f90
cosmomc_debug      00000000008CEA35  calclike_mp_getlo         146  calclike.f90
cosmomc_debug      0000000000647FD5  montecarlo_mp_tsa          94  MCMC.f90
cosmomc_debug      0000000000650939  montecarlo_mp_tfa         369  MCMC.f90
cosmomc_debug      00000000006490C0  montecarlo_mp_tch         144  MCMC.f90
cosmomc_debug      000000000069DB4F  generalsetup_mp_t         137  GeneralSetup.f90
cosmomc_debug      00000000008ED9B0  MAIN__                    268  driver.F90
cosmomc_debug      0000000000410A5E  Unknown               Unknown  Unknown
libc.so.6          00007F8361CECF45  Unknown               Unknown  Unknown
cosmomc_debug      0000000000410969  Unknown               Unknown  Unknown
forrtl: error (69): process interrupted (SIGINT)
Image              PC                Routine            Line        Source             
cosmomc_debug      0000000000C8E245  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C8BE67  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C2ED24  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C2EB36  Unknown               Unknown  Unknown
cosmomc_debug      0000000000BB53A9  Unknown               Unknown  Unknown
cosmomc_debug      0000000000BBE4BE  Unknown               Unknown  Unknown
libpthread.so.0    00007FC35E3F6330  Unknown               Unknown  Unknown
cosmomc_debug      0000000000AE8133  cambmain_mp_calcs        2176  cmbmain.f90
cosmomc_debug      0000000000A93E12  cambmain_mp_cltra         302  cmbmain.f90
cosmomc_debug      0000000000B15461  camb_mp_camb_tran          96  camb.f90
cosmomc_debug      00000000006D8AA1  calculator_camb_m         221  Calculator_CAMB.f90
cosmomc_debug      00000000006CF9E3  calclike_cosmolog          81  CalcLike_Cosmology.f90
cosmomc_debug      00000000008D63C8  calclike_mp_theor         308  calclike.f90
cosmomc_debug      00000000008CEA35  calclike_mp_getlo         146  calclike.f90
cosmomc_debug      0000000000647FD5  montecarlo_mp_tsa          94  MCMC.f90
cosmomc_debug      0000000000650939  montecarlo_mp_tfa         369  MCMC.f90
cosmomc_debug      00000000006490C0  montecarlo_mp_tch         144  MCMC.f90
cosmomc_debug      000000000069DB4F  generalsetup_mp_t         137  GeneralSetup.f90
cosmomc_debug      00000000008ED9B0  MAIN__                    268  driver.F90
cosmomc_debug      0000000000410A5E  Unknown               Unknown  Unknown
libc.so.6          00007FC35DD38F45  Unknown               Unknown  Unknown
cosmomc_debug      0000000000410969  Unknown               Unknown  Unknown
forrtl: error (69): process interrupted (SIGINT)
Image              PC                Routine            Line        Source             
cosmomc_debug      0000000000C8E245  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C8BE67  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C2ED24  Unknown               Unknown  Unknown
cosmomc_debug      0000000000C2EB36  Unknown               Unknown  Unknown
cosmomc_debug      0000000000BB53A9  Unknown               Unknown  Unknown
cosmomc_debug      0000000000BBE4BE  Unknown               Unknown  Unknown
libpthread.so.0    00007F23ECC10330  Unknown               Unknown  Unknown
cosmomc_debug      0000000000AE1B1D  cambmain_mp_calcs        2146  cmbmain.f90
cosmomc_debug      0000000000A93E12  cambmain_mp_cltra         302  cmbmain.f90
cosmomc_debug      0000000000B15461  camb_mp_camb_tran          96  camb.f90
cosmomc_debug      00000000006D8AA1  calculator_camb_m         221  Calculator_CAMB.f90
cosmomc_debug      00000000006CF9E3  calclike_cosmolog          81  CalcLike_Cosmology.f90
cosmomc_debug      00000000008D63C8  calclike_mp_theor         308  calclike.f90
cosmomc_debug      00000000008CEA35  calclike_mp_getlo         146  calclike.f90
cosmomc_debug      0000000000647FD5  montecarlo_mp_tsa          94  MCMC.f90
cosmomc_debug      0000000000650939  montecarlo_mp_tfa         369  MCMC.f90
cosmomc_debug      00000000006490C0  montecarlo_mp_tch         144  MCMC.f90
cosmomc_debug      000000000069DB4F  generalsetup_mp_t         137  GeneralSetup.f90
cosmomc_debug      00000000008ED9B0  MAIN__                    268  driver.F90
cosmomc_debug      0000000000410A5E  Unknown               Unknown  Unknown
libc.so.6          00007F23EC552F45  Unknown               Unknown  Unknown
cosmomc_debug      0000000000410969  Unknown               Unknown  Unknown



Antony Lewis
Posts: 1353
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: [cosmoMC] - minor problem with the current master branch

Post by Antony Lewis » June 26 2017

Looks like the issue with latest ifort compiler fixed in

https://github.com/cmbant/CosmoMC/commi ... bc6997bb50

- you've definitely pulled latest master changes?

Ira *Wolfson
Posts: 64
Joined: January 24 2013
Affiliation: BGU
Contact:

[cosmoMC] - minor problem with the current master branch

Post by Ira *Wolfson » June 26 2017

Pulled on 4/6/2017

I am using ubuntu 14.04 X 16.2 compiler,
since I couldn't make ubuntu 16.04 X 17.4 compiler run at all... :(

I could try running on Nov16 version before those changes were made...

Antony Lewis
Posts: 1353
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: [cosmoMC] - minor problem with the current master branch

Post by Antony Lewis » June 26 2017

Could be a problem with the "thin" routine. Don't you already have enough samples? (500,000!)

Ira *Wolfson
Posts: 64
Joined: January 24 2013
Affiliation: BGU
Contact:

[cosmoMC] - minor problem with the current master branch

Post by Ira *Wolfson » June 26 2017

Yes, I have over 500,000 samples.

And the convergence statistic is at ~ 0.02.
However, am I right in saying that since the code did not converge on its own,
the ends of the Gaussian might not be well behaved?

Antony Lewis
Posts: 1353
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: [cosmoMC] - minor problem with the current master branch

Post by Antony Lewis » June 26 2017

0.02 is usually plenty good enough.

Post Reply