Page 1 of 1

New parameter

Posted: July 17 2019
by Gabriela Arroyo
Hi there! I added some new parameters in the camb code packaged in cosmomc. Then I compiled the code and for example when I run:

Code: Select all

./cosmomc test.ini
at the end of the output I have

Code: Select all

 forrtl: severe (174): SIGSEGV, segmentation fault occurred
forrtl: severe (174): SIGSEGV, segmentation fault occurred
forrtl: severe (174): SIGSEGV, segmentation fault occurred
The same if I run

Code: Select all

./camb parms.ini


I don't have any idea what is wrong.

Re: New parameter

Posted: July 18 2019
by Antony Lewis
make cosmomc_debug then try to track it down using that.

Re: New parameter

Posted: July 18 2019
by Gabriela Arroyo
make cosmomc_debug output:

Code: Select all

ifort: warning #10182: disabling optimization; runtime debug checks enabled
make[1]: se sale del directorio '/home/gaby/works/CosmoMC-master/source'
then I did ./cosmomc_debug test.ini
and the output contains the lines:

Code: Select all

 forrtl: severe (408): fort: (3): Subscript #1 of the array Y has value 0 which is less than the lower bound of 1

forrtl: severe (408): fort: (3): Subscript #1 of the array Y has value 0 which is less than the lower bound of 1

forrtl: severe (408): fort: (3): Subscript #1 of the array Y has value 0 which is less than the lower bound of 1
 

Re: New parameter

Posted: July 21 2019
by Gabriela Arroyo
Just to explore what's happening I compiled camb with my new parameter fixed in equations_ppf, but again the result of ./camb params.ini gives:

Code: Select all

forrtl: severe (174): SIGSEGV, segmentation fault occurred