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

Using hyperpriors #13

Closed
jdavidrcamacho opened this issue Nov 30, 2017 · 2 comments
Closed

Using hyperpriors #13

jdavidrcamacho opened this issue Nov 30, 2017 · 2 comments

Comments

@jdavidrcamacho
Copy link
Collaborator

Everytime I set hyperpriors = true this happens:

# Loaded 100 data points from file spots20andplanets3.txt
# Using 4 threads.
# Target compression factor between levels = 2.7182818284590451
# Seeding random number generators. First seed = 1512056330.
# Generating 20 particles from the prior...done.
*** Error in `./main': malloc(): smallbin double linked list corrupted: 0x00007ffac8000b80 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7ffae043f7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x82651)[0x7ffae044a651]
/lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x54)[0x7ffae044c184]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_Znwm+0x18)[0x7ffae0f5be78]
./main[0x414f47]
./main[0x415de5]
./main[0x4180b4]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb8c80)[0x7ffae0f86c80]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7ffae07996ba]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7ffae04cf3dd]
======= Memory map: ========
00400000-00423000 r-xp 00000000 08:01 18486454                           /home/joaocamacho/Dropbox/kima/main
00622000-00623000 r--p 00022000 08:01 18486454                           /home/joaocamacho/Dropbox/kima/main
00623000-00624000 rw-p 00023000 08:01 18486454                           /home/joaocamacho/Dropbox/kima/main
01dc9000-01f9b000 rw-p 00000000 00:00 0                                  [heap]
7ffac8000000-7ffac8052000 rw-p 00000000 00:00 0 
7ffac8052000-7ffacc000000 ---p 00000000 00:00 0 
7ffacc000000-7ffacc021000 rw-p 00000000 00:00 0 
7ffacc021000-7ffad0000000 ---p 00000000 00:00 0 
7ffad0000000-7ffad0054000 rw-p 00000000 00:00 0 
7ffad0054000-7ffad4000000 ---p 00000000 00:00 0 
7ffad4000000-7ffad4050000 rw-p 00000000 00:00 0 
7ffad4050000-7ffad8000000 ---p 00000000 00:00 0 
7ffad8000000-7ffad8052000 rw-p 00000000 00:00 0 
7ffad8052000-7ffadc000000 ---p 00000000 00:00 0 
7ffade3c4000-7ffade3c5000 ---p 00000000 00:00 0 
7ffade3c5000-7ffadebc5000 rw-p 00000000 00:00 0 
7ffadebc5000-7ffadebc6000 ---p 00000000 00:00 0 
7ffadebc6000-7ffadf3c6000 rw-p 00000000 00:00 0 
7ffadf3c6000-7ffadf3c7000 ---p 00000000 00:00 0 
7ffadf3c7000-7ffadfbc7000 rw-p 00000000 00:00 0 
7ffadfbc7000-7ffadfbc8000 ---p 00000000 00:00 0 
7ffadfbc8000-7ffae03c8000 rw-p 00000000 00:00 0 
7ffae03c8000-7ffae0588000 r-xp 00000000 08:01 58462571                   /lib/x86_64-linux-gnu/libc-2.23.so
7ffae0588000-7ffae0788000 ---p 001c0000 08:01 58462571                   /lib/x86_64-linux-gnu/libc-2.23.so
7ffae0788000-7ffae078c000 r--p 001c0000 08:01 58462571                   /lib/x86_64-linux-gnu/libc-2.23.so
7ffae078c000-7ffae078e000 rw-p 001c4000 08:01 58462571                   /lib/x86_64-linux-gnu/libc-2.23.so
7ffae078e000-7ffae0792000 rw-p 00000000 00:00 0 
7ffae0792000-7ffae07aa000 r-xp 00000000 08:01 58458205                   /lib/x86_64-linux-gnu/libpthread-2.23.so
7ffae07aa000-7ffae09a9000 ---p 00018000 08:01 58458205                   /lib/x86_64-linux-gnu/libpthread-2.23.so
7ffae09a9000-7ffae09aa000 r--p 00017000 08:01 58458205                   /lib/x86_64-linux-gnu/libpthread-2.23.so
7ffae09aa000-7ffae09ab000 rw-p 00018000 08:01 58458205                   /lib/x86_64-linux-gnu/libpthread-2.23.so
7ffae09ab000-7ffae09af000 rw-p 00000000 00:00 0 
7ffae09af000-7ffae09c5000 r-xp 00000000 08:01 58462545                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7ffae09c5000-7ffae0bc4000 ---p 00016000 08:01 58462545                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7ffae0bc4000-7ffae0bc5000 rw-p 00015000 08:01 58462545                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7ffae0bc5000-7ffae0ccd000 r-xp 00000000 08:01 58462529                   /lib/x86_64-linux-gnu/libm-2.23.so
7ffae0ccd000-7ffae0ecc000 ---p 00108000 08:01 58462529                   /lib/x86_64-linux-gnu/libm-2.23.so
7ffae0ecc000-7ffae0ecd000 r--p 00107000 08:01 58462529                   /lib/x86_64-linux-gnu/libm-2.23.so
7ffae0ecd000-7ffae0ece000 rw-p 00108000 08:01 58462529                   /lib/x86_64-linux-gnu/libm-2.23.so
7ffae0ece000-7ffae1040000 r-xp 00000000 08:01 28575312                   /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7ffae1040000-7ffae1240000 ---p 00172000 08:01 28575312                   /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7ffae1240000-7ffae124a000 r--p 00172000 08:01 28575312                   /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7ffae124a000-7ffae124c000 rw-p 0017c000 08:01 28575312                   /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7ffae124c000-7ffae1250000 rw-p 00000000 00:00 0 
7ffae1250000-7ffae1276000 r-xp 00000000 08:01 58458200                   /lib/x86_64-linux-gnu/ld-2.23.so
7ffae12c0000-7ffae1451000 rw-p 00000000 00:00 0 
7ffae1472000-7ffae1475000 rw-p 00000000 00:00 0 
7ffae1475000-7ffae1476000 r--p 00025000 08:01 58458200                   /lib/x86_64-linux-gnu/ld-2.23.so
7ffae1476000-7ffae1477000 rw-p 00026000 08:01 58458200                   /lib/x86_64-linux-gnu/ld-2.23.so
7ffae1477000-7ffae1478000 rw-p 00000000 00:00 0 
7ffd7b384000-7ffd7b3a5000 rw-p 00000000 00:00 0                          [stack]
7ffd7b3be000-7ffd7b3c0000 r--p 00000000 00:00 0                          [vvar]
7ffd7b3c0000-7ffd7b3c2000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted (core dumped)

Took .250521446 seconds

Not sure if its a problem of my computer or of kima, the rest works fine.

@j-faria
Copy link
Owner

j-faria commented Dec 4, 2017

Can you try running with just 1 thread (change it in run)?

@jdavidrcamacho
Copy link
Collaborator Author

Yes, running with just 1 thread works!

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

2 participants