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
CosmoMC compilation error
-
- Posts: 1
- Joined: July 28 2014
- Affiliation: Centre for Theoretical Physics, JMI, New Delhi
-
- Posts: 1944
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: CosmoMC compilation error
The source should be things like
(ifort 15 should be OK after latest master branch fixes in the git repository)
Code: Select all
allocated(this%Cls(ii,jj)%CL)