cosmoMC: error in running CosmoMC on two nodes

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
moslem zarei
Posts: 28
Joined: March 11 2008
Affiliation: Isfahan University of Technology
Contact:

cosmoMC: error in running CosmoMC on two nodes

Post by moslem zarei » January 06 2015

Hi,

I am working with the latest version of cosmoMC. When I run cosmoMC on a node with 4 cores everything go smoothly and on the chain I find 4 .txt output files (test_1.txt, test_2.txt ,...).
However, recently I tried to parallel a second node (node2 ) with the node1 (two machines have the same properties). I run the code with

mpiexec -np 8 -machinefile myhosts ./cosmomc test.ini

but I find only this message

Number of MPI processes: 8

and on the chain I find no output file. Strangely when I use

mpiexec -np 7 -machinefile myhosts ./cosmomc test.ini

code run normally but with just one .txt file on the chain.

Here is the first few lines of the makefile in the source file:

F90C = ifort
MPIF90C = /home/zarei/soft/openmpi-1.8/bin/mpif90
FFLAGS = -mkl -openmp -O3 -xHost -no-prec-div -fpp
DEBUGFLAGS = -mkl -openmp -g -check all -check noarg_temp_created -traceback -no-prec-div -fpp -fpe0

Please let me know whether this is a bug or is due to the connection of node1 and node2 or something else.

Thank you very much!

moslem zarei
Posts: 28
Joined: March 11 2008
Affiliation: Isfahan University of Technology
Contact:

cosmoMC: error in running CosmoMC on two nodes

Post by moslem zarei » January 11 2015

my problem was resolved after installing MPICH2.

Post Reply