mpi installation for cosmomc
Posted: June 24 2009
Hello,
I have just started with cosmomc.Using opensuse 64 bit.The cfitsio and the likelihood_v3 are installed correctly.But I got stuck in the mpi case.
In the
cosmomc-powerlaw/source directory I have in the Makefile
The lapack is correctly installed.The mpich directory is in the /opt.While trying to make the utils.F90.It cant find the mpif.h.In utils.F90 file I changed the include line to
It started to compile but as utils.F90 calls mpi_comm_rank and many mpi application I am getting error in those places.
How can I link the mpi so that it takes the whole directory and can call the subroutines in need.
thanks and regards
Dhiraj
I have just started with cosmomc.Using opensuse 64 bit.The cfitsio and the likelihood_v3 are installed correctly.But I got stuck in the mpi case.
In the
cosmomc-powerlaw/source directory I have in the Makefile
Code: Select all
F90C = ifort
FFLAGS = -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -DMPI -vec_report0
LAPACKL = -L/opt/intel/mkl/10.1.3.027/lib/em64t -lmkl_lapack -lmkl -lguide -lpthread
Code: Select all
include '/opt/mpich/include /mpif.h'
How can I link the mpi so that it takes the whole directory and can call the subroutines in need.
thanks and regards
Dhiraj