Skip to content
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

Deadlock when using Particle Filter #18

Open
dreyes17 opened this issue Mar 31, 2022 · 0 comments
Open

Deadlock when using Particle Filter #18

dreyes17 opened this issue Mar 31, 2022 · 0 comments

Comments

@dreyes17
Copy link

Hello,

I am using the method Particle Filter explained here, and I am facing a deadlock of the threads of the particles when getting into stepsize. Here is the output of "tail particle*/beast.log":

==> particle0/beast.log <==
         Sample      posterior ESS(posterior)          prior     ESS(prior)     likelihood ESS(lik_ihood)
              0    -21975.2366              N       -78.0244              N    -21897.2122              N --
          10000     -4873.4365         2.0         -189.1466         2.0        -4684.2899         2.0    --
          20000     -4480.6041         3.0         -179.8027         3.0        -4300.8014         3.0    --
25000: writing /home/dreyes/prueba_antonio/sideritis_mcmc/particles_cpus/particleset3/particle0/particlelock0
25000: waiting for /home/dreyes/prueba_antonio/sideritis_mcmc/particles_cpus/particleset3/particle0/threadlock0

==> particle1/beast.log <==
         Sample      posterior ESS(posterior)          prior     ESS(prior)     likelihood ESS(lik_ihood)
              0    -21975.1679              N       -78.0244              N    -21897.1434              N --
          10000     -4844.3121         2.0         -216.0260         2.0        -4628.2860         2.0    --
          20000     -4431.8588         3.0         -168.5222         3.0        -4263.3365         3.0    --
25000: writing /home/dreyes/prueba_antonio/sideritis_mcmc/particles_cpus/particleset3/particle1/particlelock0
25000: waiting for /home/dreyes/prueba_antonio/sideritis_mcmc/particles_cpus/particleset3/particle1/threadlock0

==> particle2/beast.log <==
         Sample      posterior ESS(posterior)          prior     ESS(prior)     likelihood ESS(lik_ihood)
              0    -21975.1738              N       -78.0244              N    -21897.1493              N --
          10000     -4690.5879         2.0         -196.0932         2.0        -4494.4947         2.0    --
          20000     -4463.5546         3.0         -162.7462         3.0        -4300.8084         3.0    --
25000: writing /home/dreyes/prueba_antonio/sideritis_mcmc/particles_cpus/particleset3/particle2/particlelock0
25000: waiting for /home/dreyes/prueba_antonio/sideritis_mcmc/particles_cpus/particleset3/particle2/threadlock0

I have read the code and the deadlock probably happens somewhere in between the lines 60 to 69 of ParticleLauncherByFile.java. I have attached my code in a txt because github doesn't allow to attach xml files -> SIDERITIS.MultipleParticles.txt.

Best regards,

Daniel Reyes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant