Page 1 of 1

CAMB_source

Posted: February 28 2008
by Abhirup Datta
Hi

I am trying to install the CAMB_source, for getting the 21 cm Power Spectrum, and I am having some trouble in installing the code.

when I run Make, I recevie the errors as below ..
---------------------------------------------------------------------------
bash-3.00$ make
gfortran -O2 -DGFC -c utils.F90
In file utils.F90:780

Temp%p => Arr(I)%p
1
Error: The upper bound in the last dimension must appear in the reference to the assumed size array 'arr' at (1).
In file utils.F90:781

Arr(I)%p => Arr(J)%p
1
Error: The upper bound in the last dimension must appear in the reference to the assumed size array 'arr' at (1).
In file utils.F90:781

Arr(I)%p => Arr(J)%p
1
Error: The upper bound in the last dimension must appear in the reference to the assumed size array 'arr' at (1).
In file utils.F90:782

Arr(J)%p => Temp%p
1
Error: The upper bound in the last dimension must appear in the reference to the assumed size array 'arr' at (1).
In file utils.F90:736

Temp%p => Arr(I)%p
1
Error: The upper bound in the last dimension must appear in the reference to the assumed size array 'arr' at (1).
In file utils.F90:737

Arr(I)%p => Arr(J)%p
1
Error: The upper bound in the last dimension must appear in the reference to the assumed size array 'arr' at (1).
In file utils.F90:737

Arr(I)%p => Arr(J)%p
1
Error: The upper bound in the last dimension must appear in the reference to the assumed size array 'arr' at (1).
In file utils.F90:738

Arr(J)%p => Temp%p
1
Error: The upper bound in the last dimension must appear in the reference to the assumed size array 'arr' at (1).
In file utils.F90:800

use Lists
1
Fatal Error: Can't open module file 'lists.mod' for reading at (1): No suchfile or directory
make: *** [utils.o] Error 1
-----------------------------------------------------------

Thanks
Abhi

Re: CAMB_source

Posted: February 28 2008
by Antony Lewis
The latest gfortran-compatible version of my utils.F90 file is at

http://cosmologist.info/utils/utils.F90

CAMB_source

Posted: February 28 2008
by Abhirup Datta
Hi Antony

I tried the new version still the error remains the same .. I am not sure whats going on .. sorry

thanks

Abhi

Re: CAMB_source

Posted: February 29 2008
by Antony Lewis
It compiles fine for me in GFortran 4.3 (in earlier versions will need to add -D__GFORTRAN__).

CAMB_source

Posted: February 29 2008
by Abhirup Datta
Hi Antony

It ran fine this time ..

Thanks a lot
Abhi