error in "make all" commands in CosmoMC

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Fateme Fehresti
Posts: 3
Joined: May 28 2013
Affiliation: Zanjan University

error in \"make all\" commands in CosmoMC

Post by Fateme Fehresti » October 30 2013

Hello everybody
and I am working on CMB with CosmoBox software specifically CAMB, with version june 2013.
But, I have got a problem. When I was compiling with ifort 2013 I was getting license error. Because, I didnt have the license for ifort 2013, I used ifort 2011 and the problem resolved. Using ifort 2011 again I am getting problem, when I run "make all" command in CAMB directory, I am confronted with the following error messages:
{make[2]: Leaving directory `/home/ruhallah/workspace/cosmomc/camb'
mpif90 -mkl -openmp -O3 -xHost -no-prec-div -fpp -DMPI -I../camb -I/usr/local/cfitsio/include -I/home/ruhallah/workspace/cosmomc/wmap_likelihood_v5 -c ObjectLists.f90
ObjectLists.f90(114): error #5415: Feature not yet implemented: SOURCE=polymorphic_expression
allocate(P, source=C)
---------------------------^
ObjectLists.f90(223): error #5415: Feature not yet implemented: SOURCE= or MOLD= polymorphic_expression
allocate(Pt%P(1:SIZE(P)), source= P)
----------------------------------------------^
compilation aborted for ObjectLists.f90 (code 1)
make[1]: *** [ObjectLists.o] Error 1
make[1]: Leaving directory `/home/ruhallah/workspace/cosmomc/source'
make: *** [all] Error 2 }

Then I tried this order in "source" directory and again I got some other errors; these are errors types:

make[1]: Leaving directory `/home/ruhallah/workspace/cosmomc/camb'
mpif90 -mkl -openmp -O3 -xHost -no-prec-div -fpp -DMPI -I../camb -I/usr/local/cfitsio/include -I/home/ruhallah/workspace/cosmomc/wmap_likelihood_v5 -c ObjectLists.f90
ObjectLists.f90(114): error #5415: Feature not yet implemented: SOURCE=polymorphic_expression
allocate(P, source=C)
---------------------------^
ObjectLists.f90(223): error #5415: Feature not yet implemented: SOURCE= or MOLD= polymorphic_expression
allocate(Pt%P(1:SIZE(P)), source= P)

could you please help me to find the source of this problem?

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

Re: error in \\\"make all\\\" commands in CAMB

Post by Antony Lewis » October 30 2013

You need to use ifort 13 or higher.

Post Reply