GithubHelp home page GithubHelp logo

Comments (3)

brinckmann avatar brinckmann commented on August 14, 2024

Hi,

For each new run (e.g. with a new parameter file) you need to create a new chains directory, you cannot run in an existing one.

This is all explained in the MontePython guides on the course page of Julien Lesgourgues and a recorded lecture from the CosmoTools18 school . You might also find useful information in the official MontePython paper . I hope this helps.

Best,
Thejs

from montepython_public.

dlalstjq avatar dlalstjq commented on August 14, 2024

Thanks to advice.

I run the code with new directory, and I find the reason of error. I think something wrong in install planck likelihood part.

so I reset my computer and reinstall montepython, planck likelihood, but I faced new problems.

(base) [minsub@HEPG01 plc-3.01]$ ./waf configure --lapack_mkl=${MKLROOT} --install_all_deps
Setting top to : /home/minsub/planck/code/plc_3.0/plc-3.01
Setting out to : /home/minsub/planck/code/plc_3.0/plc-3.01/build
Checking for program 'gcc, cc' : /home/minsub/anaconda3/bin/gcc
Checking for program 'ar' : /usr/bin/ar
Check gcc version : 13.2.0
Compile a test code with gcc : yes
Setting architecture flag to : ['-m64']
Checking for program 'ifort' : not found
ifort not found, defaulting to gfortran (cause: 'Could not find the program ['ifort']
(complete log in /home/minsub/planck/code/plc_3.0/plc-3.01/build/config.log)')
Checking for program 'gfortran, g77' : /usr/bin/gfortran
Checking for program 'ar' : /usr/bin/ar
Check gfortran version : not found, let's hope for the best...
Compile a test code with gfortran : yes
retrieve gfortran link line : ok
fortran link line : -L/home/minsub/planck/code/plc_3.0/plc-3.01 -lgfortran -lgomp
Setting install root to : /home/minsub/planck/code/plc_3.0/plc-3.01
Setting install bin directory to : /home/minsub/planck/code/plc_3.0/plc-3.01/bin
Setting install lib directory to : /home/minsub/planck/code/plc_3.0/plc-3.01/lib
Setting install include directory to : /home/minsub/planck/code/plc_3.0/plc-3.01/include
Checking for program 'python' : /home/minsub/anaconda3/bin/python
Checking for python version : 3.11.5
python-config : /home/minsub/anaconda3/bin/python3.11-config
Asking python-config for pyembed '--cflags --libs --ldflags --embed' flags : yes
Testing pyembed configuration : Could not build a python embedded interpreter
No suitable python distribution found
Cause : 'The configuration failed
(complete log in /home/minsub/planck/code/plc_3.0/plc-3.01/build/config.log)'
Compilation will continue without it (but I strongly advise that you install it)
Checking for library dl : yes
checking for RTLD_DEFAULT in dl : no
compile with debug option : OFF
Checking for program 'pmc-config' : not found
Checking for library pmc : not found
Check mkl version : 10.3
create specific mkl lib : /home/minsub/planck/code/plc_3.0/plc-3.01/lib/libclik_mkl.so
Checking for library ['clik_mkl', 'iomp5', 'pthread', 'm'] : not found
lapack not found
check that lapack_prefix or lapack_lib and lapack_include command line options point toward your lapack install
or check that lapack is compiled in 64 bit
or install automatically using cmdline option --lapack_install
The configuration failed
(complete log in /home/minsub/planck/code/plc_3.0/plc-3.01/build/config.log)

when I run before reset, "Testing pyembed configuration" returned yes. how do I solved this problem?

Thanks to answer.
dlalstjq.

from montepython_public.

brinckmann avatar brinckmann commented on August 14, 2024

Hi,

It looks like it's having problems with your Python installation. This can be tricky, you'll want to make sure it knows about the relevant python directories, that they're specified in the relevant system paths, and is trying to run the right python installation, although sometimes I've been able to install Planck with the python wrapper even when it throws some Python errors, it can be a bit finnicky. Also, you see it has a problem with your lapack installation and gives you a suggestion for what to do.

Since this is not a MontePython issue our help will be limited. Here are ways to get further information on installing Planck:

Best,
Thejs

from montepython_public.

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.