Open messyt opened 6 years ago
Hi @messyt, You are using the same system and compiler as most other users. For instance, I also do have "macOS High Sierra (10.13.5)" and "gcc (Homebrew GCC 8.1.0) 8.1.0". Nobody else gets problems. Thus it seems to be an issue with your gcc installation. Since you get the problem when you run ./class and not its python wrapper, the python installation is irrelevant at this point, only the gcc matters. Just to be sure, please redo first a clean compilation with: make clean make -j (the -j is there only for speedup). If you started to do the compilation with a bad gcc version, then updated gcc, and then typed "make" without "make clean", your executable comes from a mixture of different compilers. The "make clean" will force the compilation to be redone from scratch. Then retry ./class explanatory.ini I bet it will work. If not, it would suggest that for some reason, the Makefile wants to use another version of gcc than the one you think, or that your gcc installation is problematic, with maybe missing dependencies; but this would not be a problem of class. Good luck.
Hi @lesgourg, Thanks for the reply! I tried to do make clean make -j
but I got the same error message as before. I'm not sure if my gcc installation was problematic. Is there a procedure that I can follow to reinstall the latest gcc version? I simply installed my current gcc by using Homebrew, which I believe was simply 'brew install gcc'
Thanks!
Hi,
I'm trying to download CLASS, but I can't quite pass the executing ./class explanatory.ini stage. When I run this command, I get the following:
When I ran the command 'make' before './class explanatory', it seemed to output no errors, and finished by itself.
Details about my computer: -Running macOS High Sierra (10.13.5); I installed Anaconda with Python3, but I can use Python2 by writing 'python2' in the terminal (if I write 'python') in the terminal, I would be using Python3. (I have numpy, scipy, and cython installed for both Python2 and 3) -GCC version is 8.1.0, and when I type 'gcc --version', I get:
Additionally, if I open a Python2 environment, the line 'import classy' throws an error.
Is it possible that you could help me? Thanks in advance!