### CAMB_sources Make error, Linux Mint and gfortran

Posted:

**September 12 2018**Hi,

I am trying to install CAMB sources using the instructions provided here - https://camb.info/sources/

I am not too familiar with CAMB outside of python. Unfortunately, I am hitting an error in the first step, when I run make. I have changed the make file to contain the compiler gfortran and when I run make, I get the following error:

Many thanks,

Ben

I am trying to install CAMB sources using the instructions provided here - https://camb.info/sources/

I am not too familiar with CAMB outside of python. Unfortunately, I am hitting an error in the first step, when I run make. I have changed the make file to contain the compiler gfortran and when I run make, I get the following error:

Have I missed another step in installation? Any help would be much appreciated, as I am not too knowledgeable about running codes like this.gfortran -O3 -fopenmp -ffast-math -funroll-loops -c equations.f90

equations.f90:1711:132:

counts_radial_source= (1-2.5*W%dlog10Ndm)*((-4.D0*W%wing2(j)/chi*adotoa-2.D0*(-W%dwing2(j)*chi-W%wing2(j))/chi**2)/ &

1

Error: Line truncated at (1) [-Werror=line-truncation]

equations.f90:1711:132:

counts_radial_source= (1-2.5*W%dlog10Ndm)*((-4.D0*W%wing2(j)/chi*adotoa-2.D0*(-W%dwing2(j)*chi-W%wing2(j))/chi**2)/ &

1

Error: Expected a right parenthesis in expression at (1)

equations.f90:1712:24:

k*sigma+2.D0*W%wing2(j)*etak/chi/k/EV%Kf(1))

1

Error: Unclassifiable statement at (1)

equations.f90:2401:26:

type(EvolutionVars) EV

1

Error: Name ‘ev’ at (1) is an ambiguous reference to ‘ev’ from current program unit

equations.f90:2406:17:

real(dl) y(EV%nvar)

1

Error: Name ‘ev’ at (1) is an ambiguous reference to ‘ev’ from current program unit

equations.f90:2417:10:

if (EV%no_nu_multpoles) then

1

Error: Name ‘ev’ at (1) is an ambiguous reference to ‘ev’ from current program unit

equations.f90:2419:8:

else

1

Error: Unexpected ELSE statement at (1)

equations.f90:2420:19:

clxr = y(EV%r_ix)

1

Error: Name ‘ev’ at (1) is an ambiguous reference to ‘ev’ from current program unit

equations.f90:2421:7:

end if

1

Error: Expecting END SUBROUTINE statement at (1)

equations.f90:2423:10:

if (EV%no_phot_multpoles) then

1

Error: Name ‘ev’ at (1) is an ambiguous reference to ‘ev’ from current program unit

equations.f90:2425:8:

else

1

Error: Unexpected ELSE statement at (1)

equations.f90:2426:19:

clxg = y(EV%g_ix)

1

Error: Name ‘ev’ at (1) is an ambiguous reference to ‘ev’ from current program unit

equations.f90:2427:7:

end if

1

Error: Expecting END SUBROUTINE statement at (1)

equations.f90:2429:13:

k = EV%k_buf

1

Error: Name ‘ev’ at (1) is an ambiguous reference to ‘ev’ from current program unit

equations.f90:2430:13:

k2 = EV%k2_buf

1

Error: Name ‘ev’ at (1) is an ambiguous reference to ‘ev’ from current program unit

equations.f90:2442:29:

call MassiveNuVars(EV,y,a,grho,gpres,dgrho,dgq)

1

Error: Name ‘ev’ at (1) is an ambiguous reference to ‘ev’ from current program unit

equations.f90:2466:14:

if (EV%Evolve_TM) then

1

Error: Name ‘ev’ at (1) is an ambiguous reference to ‘ev’ from current program unit

equations.f90:2467:27:

Delta_TM = y(EV%Tg_ix)

1

Error: Name ‘ev’ at (1) is an ambiguous reference to ‘ev’ from current program unit

equations.f90:2477:27:

Delta_xe = y(EV%xe_ix)

1

Error: Name ‘ev’ at (1) is an ambiguous reference to ‘ev’ from current program unit

equations.f90:2488:43:

Arr(Transfer_vnewt) = tau_fac*k*(EV%vb_newt)/H /k2

1

Error: Name ‘ev’ at (1) is an ambiguous reference to ‘ev’ from current program unit

equations.f90:2500:7:

end if

1

Error: Expecting END SUBROUTINE statement at (1)

equations.f90:2396:27:

subroutine outtransf(EV, y, Arr)

1

Error: Symbol ‘ev’ at (1) has no IMPLICIT type

equations.f90:2396:30:

subroutine outtransf(EV, y, Arr)

1

Error: Symbol ‘y’ at (1) has no IMPLICIT type

equations.f90:2414:11:

a = y(1)

1

Error: Function ‘y’ at (1) has no IMPLICIT type

equations.f90:2415:11:

clxc = y(3)

1

Error: Function ‘y’ at (1) has no IMPLICIT type

equations.f90:2416:11:

clxb = y(4)

1

Error: Function ‘y’ at (1) has no IMPLICIT type

equations.f90:2471:13:

vb = y(5)

1

Error: Function ‘y’ at (1) has no IMPLICIT type

equations.f90:2482:29:

z=(0.5_dl*dgrho/k + y(2))/H

1

Error: Function ‘y’ at (1) has no IMPLICIT type

f951: some warnings being treated as errors

Makefile_main:79: recipe for target 'equations.o' failed

make: *** [equations.o] Error 1

Many thanks,

Ben