CosmoCoffee Forum Index CosmoCoffee

 
 FAQFAQ   SearchSearch  MemberlistSmartFeed   MemberlistMemberlist    RegisterRegister 
   ProfileProfile   Log inLog in 
Arxiv New Filter | Bookmarks & clubs | Arxiv ref/author:

Error when compiling EFTCAMB
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
Juan Flores



Joined: 11 Jan 2017
Posts: 1
Affiliation: UG

PostPosted: January 12 2017  Reply with quote

Hi,

When I compile EFTCAMB I have the following error:

EFT_main.f90:254:132:

*CP%Horava_lambda−2._dl*CP%Horava_xi)/(2._dl*CP%Horava_xi+2._dl-CP%Horava_eta))
1
Error: Line truncated at (1) [-Werror=line-truncation]
EFT_main.f90:254:132:

*CP%Horava_lambda−2._dl*CP%Horava_xi)/(2._dl*CP%Horava_xi+2._dl-CP%Horava_eta))
1
Error: ‘ho’ at (1) is not a member of the ‘cambparams’ structure
EFT_main.f90:317:132:

%Horava_lambda )*( Hdot - adotoa**2 )/( 2._dl +2._dl*CP%Horava_xi -CP%Horava_et
1
Error: Line truncated at (1) [-Werror=line-truncation]
EFT_main.f90:317:132:

%Horava_lambda )*( Hdot - adotoa**2 )/( 2._dl +2._dl*CP%Horava_xi -CP%Horava_et
1
Error: Expected a right parenthesis in expression at (1)
compilation terminated due to -fmax-errors=4.
Makefile_main:124: recipe for target 'Release/EFT_main.o' failed
make: *** [Release/EFT_main.o] Error 1


This is from the version of EFTCAMB that is downloaded from https://github.com/EFTCAMB/EFTCAMB_sources.

I also downloaded CAMB from https://github.com/cmbant/CAMB and used the EFTCAMB files that are downloaded from http://eftcamb.org/. I get the same error.

My Fortran compiler and OS are:

GNU Fortran (Ubuntu 5.4.0−6ubuntu1~16.04.4) 5.4.0

Any help would be pretty much appreciated.

Cheers!
Juan
Back to top
View user's profile  
Antony Lewis



Joined: 23 Sep 2004
Posts: 1293
Affiliation: University of Sussex

PostPosted: January 12 2017  Reply with quote

Try gfortran's -ffree-line-length-none
Back to top
View user's profile [ Hidden ] Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software All times are GMT + 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group. Sponsored by WordWeb online dictionary and dictionary software.