CosmoCoffee Forum Index CosmoCoffee

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

Errors when installing CAMB on Mac 10.11.4
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
Sebastian Grandis



Joined: 12 Apr 2016
Posts: 3
Affiliation: Ludwig Maximilian University

PostPosted: April 12 2016  Reply with quote

Dear Dr. Lewis,

first of all thank you for the python wrapper.

I was trying to install it on my personal notebook, by downloading it from https://github.com/cmbant/CAMB

going into the folder and typing 'make' gives the following error:

CAMB-master sebastiangrandis$ make
mkdir -p Release
gfortran -O3 -fopenmp -ffast-math -fmax-errors=4 -JRelease -IRelease/ -c utils.F90 -o Release/utils.o
/var/folders/br/6_zp93j94hq3kwnzk6ryfp_m0000gn/T//cczVb341.s:11890:suffix or operands invalid for `movq'
/var/folders/br/6_zp93j94hq3kwnzk6ryfp_m0000gn/T//cczVb341.s:11900:suffix or operands invalid for `movq'
/var/folders/br/6_zp93j94hq3kwnzk6ryfp_m0000gn/T//cczVb341.s:11905:suffix or operands invalid for `movq'
/var/folders/br/6_zp93j94hq3kwnzk6ryfp_m0000gn/T//cczVb341.s:12032:suffix or operands invalid for `movq'
/var/folders/br/6_zp93j94hq3kwnzk6ryfp_m0000gn/T//cczVb341.s:12294:suffix or operands invalid for `movq'
/var/folders/br/6_zp93j94hq3kwnzk6ryfp_m0000gn/T//cczVb341.s:12590:suffix or operands invalid for `movq'
/var/folders/br/6_zp93j94hq3kwnzk6ryfp_m0000gn/T//cczVb341.s:12606:suffix or operands invalid for `movq'
/var/folders/br/6_zp93j94hq3kwnzk6ryfp_m0000gn/T//cczVb341.s:12613:suffix or operands invalid for `movq'
/var/folders/br/6_zp93j94hq3kwnzk6ryfp_m0000gn/T//cczVb341.s:12748:suffix or operands invalid for `movq'
/var/folders/br/6_zp93j94hq3kwnzk6ryfp_m0000gn/T//cczVb341.s:13083:suffix or operands invalid for `movq'
make: *** [Release/utils.o] Error 1

The same error occurs when I try to install 'CAMB-devel' and 'forutils'

I am using gfortran –version
GNU Fortran (GCC) 6.0.0 20151213 (experimental)
Copyright (C) 2015 Free Software Foundation, Inc.

Any suggestion what might be going wrong

Best wishes
Sebastian
Back to top
View user's profile  
Antony Lewis



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

PostPosted: April 12 2016  Reply with quote

Conflict between gcc installations?
http://stackoverflow.com/questions/34457801/error-with-gcc-5-for-varargs-function-suffix-or-operands-invalid-for-movq
Back to top
View user's profile [ Hidden ] Visit poster's website
Sebastian Grandis



Joined: 12 Apr 2016
Posts: 3
Affiliation: Ludwig Maximilian University

PostPosted: April 13 2016  Reply with quote

Thanks for the quick answer,
I will give it a try.
Back to top
View user's profile  
Robert Caldwell



Joined: 15 Jan 2005
Posts: 6
Affiliation: Dartmouth College

PostPosted: May 09 2016  Reply with quote

Hi – Any resolution on this issue? I got the same sort of compilation errors with gfortran 6.1 on El Capitan OSX. Instead, I uninstalled and put back gfortran 5.2 and it compiled fine.

Cheers,
Robert
Back to top
View user's profile  
Sebastian Grandis



Joined: 12 Apr 2016
Posts: 3
Affiliation: Ludwig Maximilian University

PostPosted: May 09 2016  Reply with quote

Robert Caldwell wrote:
Hi – Any resolution on this issue? I got the same sort of compilation errors with gfortran 6.1 on El Capitan OSX. Instead, I uninstalled and put back gfortran 5.2 and it compiled fine.


Hi, thanks for the comments.

using fortran 5.2 instead of 6.0 really solves the problem. I was able to install everything without problem

Thanks again

Cheers
Back to top
View user's profile  
Claudio Nahmad



Joined: 14 Jan 2017
Posts: 3
Affiliation: Facultad de Ciencias UNAM

PostPosted: January 15 2017  Reply with quote

Robert.

How did you uninstall gfortran? I'm having the same trouble but since I am new to mac I dont know how to uninstall .pkg's

If you could help me resolve this I would appreciate it very much.

Thanks
Back to top
View user's profile   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.