pycamb for modified camb compiling problem

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Angela Chen
Posts: 18
Joined: January 11 2019
Affiliation: University of Michigan

pycamb for modified camb compiling problem

Post by Angela Chen » February 27 2019

Hi all,

I got an error message like this when compiling pycamb for my local modified camb. If anyone can tell me what's happening it would be greatly appreciated!

camb_python.f90:435:24:

EV%OutputSources => sources
1
Error: 'outputsources' at (1) is not a member of the 'evolutionvars' structure; did you mean 'outputtransfer'?
camb_python.f90:436:30:

if (ncustomsources>0) EV%CustomSources => custom_sources
1
Error: Cannot assign to a named constant at (1)
camb_python.f90:438:51:

nullify(EV%OutputTransfer, EV%OutputSources, EV%CustomSources)
1
Error: 'outputsources' at (1) is not a member of the 'evolutionvars' structure; did you mean 'outputtransfer'?
camb_python.f90:505:26:

if (ncustomsources>0) custom_sources_func => old_sources
1
Error: Cannot assign to a named constant at (1)
compilation terminated due to -fmax-errors=4.
make: *** [Releaselib/camb_python.o] Error 1

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

Re: pycamb for modified camb compiling problem

Post by Antony Lewis » February 27 2019

I expect you have some out of date files. Is this is the latest CAMB version?

Angela Chen
Posts: 18
Joined: January 11 2019
Affiliation: University of Michigan

Re: pycamb for modified camb compiling problem

Post by Angela Chen » February 27 2019

Antony Lewis wrote:
February 27 2019
I expect you have some out of date files. Is this is the latest CAMB version?
right, it was 0.1.7, don't know how I was stuck with this old version... I'll try it on 1.0.3, thanks Antony!

Post Reply