Giter Site home page Giter Site logo

Comments (6)

JesusTorrado avatar JesusTorrado commented on August 30, 2024

Hi @timothydmorton

(Very sorry for being off reach for so long)

This points to a lack of python headers. In e.g. Ubuntu, this is trivially fixed by installing python3-dev).

If this is happening in a cluster, it's more complicated. Maybe those files need to be loaded as a module of your HPC system, or are loaded not included in the INCLUDE path?

from cobaya.

cmbant avatar cmbant commented on August 30, 2024

Is this still an issue or can it be closed?

from cobaya.

lighink avatar lighink commented on August 30, 2024

This problem is a common problem when using Anaconda python3 (python2 has no problem). It seems that the Planck Likelihood can't be installed using python3 (just the Python.h problem here). I think it is a bug and should be fixed.

from cobaya.

cmbant avatar cmbant commented on August 30, 2024

It works OK in Cobaya's Andronda py3 travis tests though (and cosmomc's). If someone has a specific vm or docker that reproduces it could send to Karim to look at (but could be a bug in one version of one of the anaconda package versions).

from cobaya.

cmbant avatar cmbant commented on August 30, 2024

I have now seen this with ifort 2017, gcc 4.8 and anaconda 3.7. It may just be a case of using gcc 7+ to be compatible with anaconda 3.7 (I got it to work by loading ifort 2019 and gcc 7).

from cobaya.

jlashner avatar jlashner commented on August 30, 2024

Have you tried setting the CPATH manually before installing? I think the problem on the cluster is that the python header files are not where they are on a normal system. I was able to successfully install it on USC's HPC without anaconda after setting CPATH=/usr/usc/python/3.7.4/include/python3.7m:$CPATH
which is where the python include files are located. If you're using anaconda you might need to find where it stores the header files and add that path to CPATH.

from cobaya.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.