Comments (2)
Hi Subhajit,
Once your NS chains have reached a large enough amount of accepted points it should be able to be analyzed, is this not so? In my experience, it can take quite a while to reach a stage where it can be analyzed, since MultiNest is slow. In the past this has worked for me, so I wonder if it broke with a recent python version change or something. How many points has it collected and what is the error?
To take a moment to promote something new, I'm personally excited to try out UltraNest (see the pull request #315 by Johannes Buchner) for my next project involving nested sampling, as I think it should be faster than the other existing options, but I haven't had a chance to try it yet.
Best,
Thejs
from montepython_public.
Hi Thejs,
Thanks for the reply. Sorry, I made a silly mistake that's why the NS analysis was failing.
I was not very comfortable running info on a running NS chain (worried that it might mess up the sampling which is running for a long time. Just being extra cautious). I made a copy of the output directory and the error I was getting in the filename mismatch.
Traceback (most recent call last):
File "/afs/crc.nd.edu/user/s/sghosh5/nnat/mcmc/montepython_public-3.5/montepython/analyze.py", line 1527, in clean_conversion
getattr(module, 'from_%s_output_to_chains' % tag)(folder)
File "/afs/crc.nd.edu/user/s/sghosh5/nnat/mcmc/montepython_public-3.5/montepython/MultiNest.py", line 326, in from_NS_output_to_chains
with open(base_name+name_arguments, 'r') as afile:
FileNotFoundError: [Errno 2] No such file or directory: 'NS_nnoutN20_c/NS/NS_nnoutN20_c.arguments'
During the handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/afs/crc.nd.edu/user/s/sghosh5/nnat/mcmc/montepython_public-3.5/montepython/MontePython.py", line 40, in
sys.exit(run())
File "/afs/crc.nd.edu/user/s/sghosh5/nnat/mcmc/montepython_public-3.5/montepython/run.py", line 31, in run
cosmo, data, command_line, success = safe_initialisation(
File "/afs/crc.nd.edu/user/s/sghosh5/nnat/mcmc/montepython_public-3.5/montepython/run.py", line 191, in safe_initialisation
cosmo, data, command_line, success = initialise(custom_command)
File "/afs/crc.nd.edu/user/s/sghosh5/nnat/mcmc/montepython_public-3.5/montepython/initialise.py", line 59, in initialise
analyze(command_line)
File "/afs/crc.nd.edu/user/s/sghosh5/nnat/mcmc/montepython_public-3.5/montepython/analyze.py", line 101, in analyze
status = prepare(item, info)
File "/afs/crc.nd.edu/user/s/sghosh5/nnat/mcmc/montepython_public-3.5/montepython/analyze.py", line 218, in prepare
action_done = clean_conversion(module_name, tag, files[0])
File "/afs/crc.nd.edu/user/s/sghosh5/nnat/mcmc/montepython_public-3.5/montepython/analyze.py", line 1529, in clean_conversion
raise io_mp.AnalyzeError(
io_mp.AnalyzeError:
Analyze Error:
/|\ You asked to analyze a NS folder which seems to come from an unfinished
/o\ run, or to be empty or corrupt. Please make sure the run went smoothly
enough.
I overlooked the top portion of the error. My apologies. I have fixed that and I can now analyse the chains. Thanks.
Regarding UltraNest, it would be great to have it implemented in Montepython. Will keep an eye out for that.
Since we are talking about new features, I would like to put one other request. One of the reasons why MultiNest is slow is that it cannot be run across nodes via MPI since CLASS itself does not support MPI. Typically I just run one MultiNest chain. Going forward, if CLASS is made MPI enabled that would also help with the speed. (This is also more regarding to CLASS than MontePython)
Thanks.
Best,
Subhajit
from montepython_public.
Related Issues (20)
- How to do Fisher analysis in Montepython? HOT 2
- Problems with Pantheon+ and wCDM HOT 1
- How to apply other parameter file? HOT 3
- 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
- PolyChord convergence issue when using emulators HOT 1
- Issue: IndexError: index 12 is out of bounds for axis 0 with size 12 HOT 3
- Calculating evidence from Montepython HOT 2
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.