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
pycamb for modified camb compiling problem
-
- Posts: 24
- Joined: January 11 2019
- Affiliation: University of Michigan
-
- Posts: 1944
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: pycamb for modified camb compiling problem
I expect you have some out of date files. Is this is the latest CAMB version?
-
- Posts: 24
- Joined: January 11 2019
- Affiliation: University of Michigan
Re: pycamb for modified camb compiling problem
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!Antony Lewis wrote: ↑February 27 2019I expect you have some out of date files. Is this is the latest CAMB version?