I am trying to run the CosmoMC the first time on my personal computer ASUS UX430UN to get a propose matrix for my future work. I am thinking of running only 2 chains on my 4 CPUs.
The first command I try is
Code: Select all
mpirun -np 4 ./cosmomc test.ini
Code: Select all
num_threads=0
Code: Select all
num_threads=2
Then I try only
Code: Select all
./cosmomc test.ini
Code: Select all
num_threads=2
https://imgur.com/a/TQEjHIz
The problem I have is, how many CPUs do I actually have? And also, which command and which line in the .ini file should I modify to achieve my initial goal of 2 chains in total? Or maybe there is something I can do that can further decrease the time needed to finish my first CosmoMC run?
Any suggestion will be very helpful!
Chien Lin