Errors when installing CAMB on Mac 10.11.4
-
- Posts: 3
- Joined: April 12 2016
- Affiliation: Ludwig Maximilian University
Errors when installing CAMB on Mac 10.11.4
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
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
-
- Posts: 1943
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
-
- Posts: 3
- Joined: April 12 2016
- Affiliation: Ludwig Maximilian University
Errors when installing CAMB on Mac 10.11.4
Thanks for the quick answer,
I will give it a try.
I will give it a try.
-
- Posts: 6
- Joined: January 15 2005
- Affiliation: Dartmouth College
Errors when installing CAMB on Mac 10.11.4
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
Cheers,
Robert
-
- Posts: 3
- Joined: April 12 2016
- Affiliation: Ludwig Maximilian University
Re: Errors when installing CAMB on Mac 10.11.4
Hi, thanks for the comments.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.
using fortran 5.2 instead of 6.0 really solves the problem. I was able to install everything without problem
Thanks again
Cheers
-
- Posts: 8
- Joined: January 14 2017
- Affiliation: Facultad de Ciencias UNAM
- Contact:
Errors when installing CAMB on Mac 10.11.4
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
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
-
- Posts: 1
- Joined: August 26 2017
- Affiliation: University of Warsaw
Re: Errors when installing CAMB on Mac 10.11.4
Using 5.2 instead of 6.0 also worked for me!Sebastian Grandis wrote:Hi, thanks for the comments.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.
using fortran 5.2 instead of 6.0 really solves the problem. I was able to install everything without problem
Thanks again
Cheers