The DES astro parameterization
-
- Posts: 6
- Joined: May 04 2016
- Affiliation: North Carolina State University
The DES astro parameterization
Hi everyone,
I try the switch the parameterization in CosmoMC to astro by including DEFAULT(batch3/DES_astro_priors.ini). But errors show as below, any ideas?
orrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
cosmomc 00000000006F2AD3 for__signal_handl Unknown Unknown
libpthread-2.17.s 00002B766A1725D0 Unknown Unknown Unknown
cosmomc 000000000062C606 Unknown Unknown Unknown
cosmomc 000000000068C805 Unknown Unknown Unknown
cosmomc 00000000005E8F6D Unknown Unknown Unknown
cosmomc 00000000005E9D3C Unknown Unknown Unknown
libiomp5.so 00002B7668FB0C53 __kmp_invoke_micr Unknown Unknown
libiomp5.so 00002B7668F807ED __kmp_fork_call Unknown Unknown
libiomp5.so 00002B7668F57E2A __kmpc_fork_call Unknown Unknown
cosmomc 00000000005E9A0E Unknown Unknown Unknown
cosmomc 0000000000546087 Unknown Unknown Unknown
cosmomc 00000000005443E1 Unknown Unknown Unknown
cosmomc 0000000000494E91 Unknown Unknown Unknown
cosmomc 00000000005564A3 Unknown Unknown Unknown
cosmomc 00000000005555AB Unknown Unknown Unknown
cosmomc 0000000000553189 Unknown Unknown Unknown
cosmomc 0000000000485A7C Unknown Unknown Unknown
cosmomc 000000000055EE0A Unknown Unknown Unknown
cosmomc 0000000000413F62 Unknown Unknown Unknown
libc-2.17.so 00002B766A3A13D5 __libc_start_main Unknown Unknown
cosmomc 0000000000413E69 Unknown Unknown Unknown
I try the switch the parameterization in CosmoMC to astro by including DEFAULT(batch3/DES_astro_priors.ini). But errors show as below, any ideas?
orrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
cosmomc 00000000006F2AD3 for__signal_handl Unknown Unknown
libpthread-2.17.s 00002B766A1725D0 Unknown Unknown Unknown
cosmomc 000000000062C606 Unknown Unknown Unknown
cosmomc 000000000068C805 Unknown Unknown Unknown
cosmomc 00000000005E8F6D Unknown Unknown Unknown
cosmomc 00000000005E9D3C Unknown Unknown Unknown
libiomp5.so 00002B7668FB0C53 __kmp_invoke_micr Unknown Unknown
libiomp5.so 00002B7668F807ED __kmp_fork_call Unknown Unknown
libiomp5.so 00002B7668F57E2A __kmpc_fork_call Unknown Unknown
cosmomc 00000000005E9A0E Unknown Unknown Unknown
cosmomc 0000000000546087 Unknown Unknown Unknown
cosmomc 00000000005443E1 Unknown Unknown Unknown
cosmomc 0000000000494E91 Unknown Unknown Unknown
cosmomc 00000000005564A3 Unknown Unknown Unknown
cosmomc 00000000005555AB Unknown Unknown Unknown
cosmomc 0000000000553189 Unknown Unknown Unknown
cosmomc 0000000000485A7C Unknown Unknown Unknown
cosmomc 000000000055EE0A Unknown Unknown Unknown
cosmomc 0000000000413F62 Unknown Unknown Unknown
libc-2.17.so 00002B766A3A13D5 __libc_start_main Unknown Unknown
cosmomc 0000000000413E69 Unknown Unknown Unknown
-
- Posts: 1944
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: The DES astro parameterization
make and run cosmomc_debug to maybe get a more helpful error trace.
-
- Posts: 6
- Joined: May 04 2016
- Affiliation: North Carolina State University
Re: The DES astro parameterization
Thank you Antony. Sorry for the late response. I ran cosmomc_debug but got the same error message.Antony Lewis wrote: ↑February 10 2020make and run cosmomc_debug to maybe get a more helpful error trace.
-
- Posts: 1944
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: The DES astro parameterization
No useful stack trace?
-
- Posts: 6
- Joined: May 04 2016
- Affiliation: North Carolina State University
Re: The DES astro parameterization
After I ran CosmoMC_debug test.ini with DEFAULT(batch3/DES_astro_priors.ini), I got:
Code: Select all
forrtl: severe (408): fort: (7): Attempt to use pointer DARKENERGY when it is not associated with a target
-
- Posts: 1944
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: The DES astro parameterization
Interesting, no stack trace? In recent CAMB versions DarkEnergy is an allocatable not a pointer, so not exactly sure where that is coming from, but may just be an inaccurate error message.
It should be allocated in subroutine CAMBCalc_InitCAMBParams(this,P)
.
It should be allocated in subroutine CAMBCalc_InitCAMBParams(this,P)
.
-
- Posts: 30
- Joined: September 25 2004
- Affiliation: Simon Fraser University
- Contact:
Re: The DES astro parameterization
Hi Weikang and Antony,
Just wondering if you managed to find a fix to this problem and would be happy to share it. I am having the same issue.
Thanks,
levon
Just wondering if you managed to find a fix to this problem and would be happy to share it. I am having the same issue.
Thanks,
levon
-
- Posts: 1944
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: The DES astro parameterization
Try adding
after this line: https://github.com/cmbant/CosmoMC/blob/master/source/Calculator_CAMB.f90#L217
? (with the default parameterization this is already done in CMBtoCAMB)
Code: Select all
this%CurrentState => Info%State
? (with the default parameterization this is already done in CMBtoCAMB)
-
- Posts: 30
- Joined: September 25 2004
- Affiliation: Simon Fraser University
- Contact:
Re: The DES astro parameterization
Thanks a lot, Antony. The error message I was getting before disappeared after your fix and it seems to be running OK (i will find out if I didn't make other silly mistakes after the job finishes on the cluster). All the best. Levon