CosmoMC compilation error

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Sumit Kumar
Posts: 1
Joined: July 28 2014
Affiliation: Centre for Theoretical Physics, JMI, New Delhi

CosmoMC compilation error

Post by Sumit Kumar » September 09 2014

Dear Users,

I am trying to install cosmomc on my system. I have installed it previousely but this time I am getting following error message when trying to compile:
-------------------------------------------------------------------------
if (allocated(this%Cls(ii,jj))) then
-----------------------^
CosmoTheory.f90(117): error #8659: The argument of the ALLOCATED intrinsic can not be an array element. [CLS]
if (allocated(this%Cls(i,j))) then
-------------------------------^
compilation aborted for CosmoTheory.f90 (code 1)
make[1]: *** [ReleaseMPI/CosmoTheory.o] Error 1
make[1]: Leaving directory `/home/sam/softwares/cosmomc/july14/cosmomc/source'
make: *** [cosmomc] Error 2
------------------------------------------------------------------------------------

I am using default setting in makefile and using the ifort version (IFORT) 15.0.0 20140723
Can anybody please help in pointing the mistake? Thanks in advance.

Sumit

Antony Lewis
Posts: 1943
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: CosmoMC compilation error

Post by Antony Lewis » September 15 2014

The source should be things like

Code: Select all

allocated(this%Cls(ii,jj)%CL)
(ifort 15 should be OK after latest master branch fixes in the git repository)

Post Reply