Compile errors with Mar2013 CosmoMC
Posted: May 08 2013
Hi All,
I'm trying to install the Mar2013 version of CosmoMC w/ the planck likelihoods. I've successfully installed plc-1.0.
I'm using intel composer xe 2013
I've gone through and made, what I believe, are all the correct modifications to Makefiles in cosmomc/camb and cosmomc/source, mostly just making sure it's using ifort.
Now, when I run make in the cosmomc directory, it starts to build, but then throws this error:
I admit, I've got very little experience w/ fortran, my only experience coming from using MODTRAN.
Thanks.
_Kyle
I'm trying to install the Mar2013 version of CosmoMC w/ the planck likelihoods. I've successfully installed plc-1.0.
I'm using intel composer xe 2013
I've gone through and made, what I believe, are all the correct modifications to Makefiles in cosmomc/camb and cosmomc/source, mostly just making sure it's using ifort.
Now, when I run make in the cosmomc directory, it starts to build, but then throws this error:
Any idea what could be the error? I've found in the cosmomc/source Makefile the line that says:Matrix_utils.F90(2284): error #6404: This name does not have a type, and must have an explicit type. [MPI_INTEGER]
call MPI_BCAST(n,1,MPI_INTEGER, 0, MPI_COMM_WORLD, ierr)
-----------------------^
Matrix_utils.F90(2284): error #6404: This name does not have a type, and must have an explicit type. [MPI_COMM_WORLD]
call MPI_BCAST(n,1,MPI_INTEGER, 0, MPI_COMM_WORLD, ierr)
---------------------------------------^
Matrix_utils.F90(2299): error #6404: This name does not have a type, and must have an explicit type. [MPI_DOUBLE_PRECISION]
call MPI_SEND(AM%M,size(AM%M),MPI_DOUBLE_PRECISION, j, 1, MPI_COMM_WORLD, ierr)
----------------------------------------------^
Matrix_utils.F90(2304): error #6404: This name does not have a type, and must have an explicit type. [MPI_STATUS_IGNORE]
call MPI_RECV(AM%M,size(AM%M),MPI_DOUBLE_PRECISION, 0, 1, MPI_COMM_WORLD,MPI_STATUS_IGNORE, ierr)
-----------------------------------------------------------------------------------------^
compilation aborted for Matrix_utils.F90 (code 1)
make[1]: *** [Matrix_utils.o] Error 1
Should I change this line to be a different library?LAPACKL = -lmpi
I admit, I've got very little experience w/ fortran, my only experience coming from using MODTRAN.
Thanks.
_Kyle