Running error in CosmoMC

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Saisandri Saini
Posts: 10
Joined: February 13 2020
Affiliation: MHRD

Running error in CosmoMC

Post by Saisandri Saini »

I am trying to run Cosmomc May 2020 version with modecode and I am getting the following run time error using both test.in as well as test_planck.ini.

Code: Select all

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   PID 43685 RUNNING AT Host
=   EXIT CODE: 9
=   CLEANING UP REMAINING PROCESSES
=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Killed (signal 9)
This typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions
After running cosmomc_debug I am getting the following output.

Code: Select all

Number of MPI processes:           1
 Error :Ini_Open, file not found: 
 MpiStop:            0
application called MPI_Abort(MPI_COMM_WORLD, 21923) - process 0
[unset]: write_line error; fd=-1 buf=:cmd=abort exitcode=21923
:
system msg for write_line failure : Bad file descriptor
I will be grateful if this could be resolved.

Regards,
Saisandri
Antony Lewis
Posts: 1984
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: Running error in CosmoMC

Post by Antony Lewis »

If Ini_Open is failing presumably the ini file or path is wrong
Saisandri Saini
Posts: 10
Joined: February 13 2020
Affiliation: MHRD

Re: Running error in CosmoMC

Post by Saisandri Saini »

Hello Sir,
Thank You for your help. I am running cosmomc on my workstation. It is running four chains at a time. The chains run for half an hour and then it stops and shows the following error:

Code: Select all

phi init after rescaling before trial background   8.6616845418618613     
 Rescale count before trial background           0
 phi init after rescaling before trial background   9.4358490268937949     
 Rescale count before trial background           1
 phi init after rescaling before trial background   10.287429960328828     
 Rescale count before trial background           2
 phi init after rescaling before trial background   11.224168986988641     
 Rescale count before trial background           3
 phi init after rescaling before trial background   12.254581916526915     
 Rescale count before trial background           4
 Initial phi   8.6630824710460850     
 phi init after rescaling before trial background   8.6630824710460850     
 Rescale count before trial background           0
 phi init after rescaling before trial background   9.4373848090912702     
 Rescale count before trial background           1
 phi init after rescaling before trial background   10.289117380968518     
 Rescale count before trial background           2
 phi init after rescaling before trial background   11.226023209855425     
 Rescale count before trial background           3
 phi init after rescaling before trial background   12.256619621823532     
 Rescale count before trial background           4
 In CAMB   2.4755052585792617E-009   8.8934846551990590E-002  0.95292615872362285     
 In CAMB   2.2233891463850502E-009   7.6184124095065739E-002  0.95805207559900452     

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   PID 43685 RUNNING AT Host
=   EXIT CODE: 9
=   CLEANING UP REMAINING PROCESSES
=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Killed (signal 9)
This typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions
Regards
Saisandri
Post Reply