I accidentally push a modified setup.py file, back to original file, sorry for that
@@ -15,9 +15,9 @@ except AttributeError:
_ccllib = Extension(
"_ccllib",
["pyccl/ccl.i",],
- libraries = ['m', 'gsl', 'gslcblas', 'ccl'], #'gomp',
- include_dirs = [numpy_include, "include/", "class/include", "/opt/local/include"],
- extra_compile_args=['-O4', '-std=c99'],
+ libraries = ['m', 'gsl', 'gslcblas', 'gomp', 'ccl'],
+ include_dirs = [numpy_include, "include/", "class/include"],
+ extra_compile_args=['-O4', '-fopenmp', '-std=c99'],
swig_opts=['-threads'],
)
@@ -29,3 +29,4 @@ setup( name = "pyccl",
packages = ['pyccl'],
ext_modules = [_ccllib,],
)
+
