Comments (3)
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.
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.
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:
- The MontePython README: https://github.com/brinckmann/montepython_public#the-planck-likelihood-part
- The Planck README found in your Planck directory at code/plc_3.0/plc-3.01/readme.md
- Searching for Planck in open and closed MontePython issues as common problems have been addressed many times: https://github.com/brinckmann/montepython_public/issues?q=is%3Aissue+Planck
- Searching for answered Planck issues on the CosmoCoffee forums https://cosmocoffee.info/
Best,
Thejs
from montepython_public.
Related Issues (20)
- shooting failed while constraining a new density parameter HOT 2
- AttributeError: module 'clik' has no attribute 'lkl' HOT 5
- Problem with Planck_highl_TTTEEE Lilelihood HOT 1
- How to do Fisher analysis in Montepython? HOT 2
- Problems with Pantheon+ and wCDM HOT 1
- Analyzing running Multinest chain HOT 2
- info --want-covmat gives error with modified data.py HOT 5
- Root finding generating trouble HOT 1
- Planck 2020: npipe HOT 1
- A problem when using sdss lrgDR7 data in montepython HOT 3
- Problems with PlanckTTTEEE+Pantheon HOT 3
- Could not find sBBN_2017.dat HOT 7
- ./waf install HOT 2
- Using the created covariance matrix HOT 7
- Covariance Matrix in the CLP HOT 4
- bao_angular likelihood not working HOT 2
- Add BK18 likelihood
- Finding classy is broken in several ways
- Problem in running Planck likelihood HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from montepython_public.