Giter Site home page Giter Site logo

Comments (12)

sahiljhawar avatar sahiljhawar commented on July 26, 2024 2

@thjsal And now your comment makes more sense ๐Ÿ˜…

from pymultinest.

JohannesBuchner avatar JohannesBuchner commented on July 26, 2024 1

Please post a minimal test case here.

from pymultinest.

JohannesBuchner avatar JohannesBuchner commented on July 26, 2024 1

OK, sounds like the issues lie in your pipeline somewhere, so I am closing this. For the conda install, if you have an actionable error message beyond "does not seem to work", please open a new issue.

from pymultinest.

JohannesBuchner avatar JohannesBuchner commented on July 26, 2024

The error you copied is different to the CI log, which ran multinest successfully, just did not like the output.

See also brinckmann/montepython_public#144

from pymultinest.

sahiljhawar avatar sahiljhawar commented on July 26, 2024

If from the CI logs you mean this error ValueError: could not convert string ...{some extremely small number}. Then this is a usual error when sampling fails, as far as I know. But the error which is mentioned above only happens with Python 3.11 Until now we haven't faced this issue with any of the other Python versions.

from pymultinest.

thjsal avatar thjsal commented on July 26, 2024

I remember getting the same (or at least very similar) error as when having problem with #237. So maybe you are using the latest pypi version of PyMultiNest and using the latest GitHub version would solve the problem? I could be wrong though.

from pymultinest.

sahiljhawar avatar sahiljhawar commented on July 26, 2024

Sorry, I didn't understand, "...using the latest GitHub version would solve the problem?"

from pymultinest.

JohannesBuchner avatar JohannesBuchner commented on July 26, 2024

The sampling has not failed, but fortran writes the result out in a weird format that is not readable. This happens when the likelihood is <-1e300.

from pymultinest.

sahiljhawar avatar sahiljhawar commented on July 26, 2024

Umm okay. Thanks for the clarification on that. But the issues still persists, I saw that there's a merge and tests happens with Python 3.11 and it does not fails where it fails with our tests.

from pymultinest.

sahiljhawar avatar sahiljhawar commented on July 26, 2024

I tried with Python 3.11 and things are not working out. While testing the our package scripts, with MPI, sampler not found error occurs, without MPI Safeloglikelihood error occurs. But if I perform the tests with the examples as given in your repo, the tests are successfully passed. Also pymultinest from conda doesn't seems to work, I installed it with pip and built multinest from the source.

from pymultinest.

sahiljhawar avatar sahiljhawar commented on July 26, 2024

Therefore I can't provide a test case which is failing as in our case.

from pymultinest.

sahiljhawar avatar sahiljhawar commented on July 26, 2024

Reopeing this issue since I got the reason why it was not working. I again tried everything from scratch, first installed pymultinest from conda in order to not build the multinest from scratch. This version still had the same Safeloglikelihood problem. Then I removed the conda installed pymultinest and then cloned your repo and installed pymultinest from there. And it worked. So maybe updating the conda with the latest version available at github will work.

In my opinion the no existence of this

try:
if sys.version_info[0] == 3:
nargs = len(inspect.getfullargspec(LogLikelihood).args) - inspect.ismethod(LogLikelihood)
else:
nargs = len(inspect.getargspec(LogLikelihood).args) - inspect.ismethod(LogLikelihood)
. in the PyPi and Conda breaks this. As previously mentioned in #237 as well.

from pymultinest.

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.