-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to apply other parameter file? #358
Comments
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, |
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 when I run before reset, "Testing pyembed configuration" returned yes. how do I solved this problem? Thanks to answer. |
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, |
Hello! I'm a student studying cosmology
I installed montepython following README file and it worked when input file is input/example.param.
But I get error like under when input is another parameter file.
I don't know how to solve this problem, How can I solve this error?
(base) minsub@Lee:/home/minsub/data/montepython_public-3.6$ python montepython/MontePython.py run -p input/base2015TTTEEE.param -o chains/base2015TTTEEE -N 100000
/!\ PyMultiNest detected but MultiNest likely not installed correctly. You can
safely ignore this if not running with option -m NS
/!\ Appending to an existing folder: using the log.param instead of
input/base2015TTTEEE.param
Running Monte Python v3.6.0
Traceback (most recent call last):
File "/home/minsub/data/montepython_public-3.6/montepython/run.py", line 191, in safe_initialisation
cosmo, data, command_line, success = initialise(custom_command)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/minsub/data/montepython_public-3.6/montepython/initialise.py", line 67, in initialise
data = Data(command_line, path)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/minsub/data/montepython_public-3.6/montepython/data.py", line 214, in init
self.fill_mcmc_parameters()
File "/home/minsub/data/montepython_public-3.6/montepython/data.py", line 401, in fill_mcmc_parameters
self.read_file(self.param, 'data')
File "/home/minsub/data/montepython_public-3.6/montepython/data.py", line 581, in read_file
exec(statement.rstrip())
File "", line 1, in
KeyError: 'cosmo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/minsub/data/montepython_public-3.6/montepython/MontePython.py", line 40, in
sys.exit(run())
^^^^^
File "/home/minsub/data/montepython_public-3.6/montepython/run.py", line 31, in run
cosmo, data, command_line, success = safe_initialisation(
^^^^^^^^^^^^^^^^^^^^
File "/home/minsub/data/montepython_public-3.6/montepython/run.py", line 206, in safe_initialisation
raise io_mp.ConfigurationError(
io_mp.ConfigurationError:
Configuration Error:
/|\ You are running in a folder that was created following a non-successful
/o\ initialisation (wrong parameter name, wrong likelihood, etc...). If you
have solved the issue, you should remove completely the output folder,
and try again. Alternatively, there could be a problem with 'cosmo'
double free or corruption (!prev)
Aborted (core dumped)
Thanks to advice
dlalstjq
The text was updated successfully, but these errors were encountered: