Open ShazAlvi opened 2 years ago
Hi
Try to disable --fast-math
in the Makefile.
Cheers, Thomas
Hi Thomas,
Thanks for your suggestion. The option did not help in solving the problem. I still get the same error.
Hi Thomas,
Just want to add that the same code works fine in IPython. However when the python file is run on the editor or on the terminal it gives a segmentation error.
After I had issue #462 , I was able import classy in Python27 in a conda environment with gcc-11 installed with home-brew At the moment. I am having issue getting additional quantities like (tCl. mPk etc.) defined in output, however I can get the background quantities. So the following code works perfectly,
But, adding 'tCl' to the output list returns a segmentation fault, so the following does not work.
But if I only ask for background module in MyClass.compute (
MyClass.compute(['background'])
), everything works again as when tCl is not asked.I am unable to triangulate why this is happening. I have only recently started working on Mac. On Ubuntu this code works like a charm.
Edit: Just want to add to the previous message that in Ipython the same code works perfectly and I am able to get the tt spectra as expect.