iu-parfunc / cilk_tests Goto Github PK
View Code? Open in Web Editor NEWtests for working on cilkplus
tests for working on cilkplus
We can add this more svelt version (without the big data files) as a submodule:
https://github.com/iu-parfunc/pbbs
How to reproduce
make and run ./server.exe in a separate command line.
Now ./distfib.exe
gdb ./distfib.exe output
Program received signal SIGSEGV, Segmentation fault.
__cilkrts_ivar_read (ivar=0x60fa48)
at /u/budkahaw/Builds/ccilk/runtime/ivar_full_blocking.c:59
59 w->paused_ctx = &ctx;
(gdb) bt
#0 __cilkrts_ivar_read (ivar=0x60fa48)
at /u/budkahaw/Builds/ccilk/runtime/ivar_full_blocking.c:59
#1 0x00007ffff7ba5a1e in cilk_write (fd=,
buf=<value optimized out>, len=8)
at /u/budkahaw/Builds/ccilk/runtime/io/concurrent_cilk_io.c:246
#2 0x0000000000401a1a in runMap ()
#3 0x0000000000401623 in distPfib ()
#4 0x0000000000401514 in main ()
Valgrind output
==27916== Invalid write of size 8
==27916== at 0x4E7418E: __cilkrts_ivar_read (ivar_full_blocking.c:59)
==27916== by 0x4E74A1D: cilk_write (concurrent_cilk_io.c:246)
==27916== by 0x401A19: runMap (in /nfs/nfs4/home/budkahaw/Builds/ccilk/cilk_tests/cilk_io/distfib/distfib.exe)
==27916== by 0x401622: distPfib (in /nfs/nfs4/home/budkahaw/Builds/ccilk/cilk_tests/cilk_io/distfib/distfib.exe)
==27916== by 0x401513: main (in /nfs/nfs4/home/budkahaw/Builds/ccilk/cilk_tests/cilk_io/distfib/distfib.exe)
==27916== Address 0x70 is not stack'd, malloc'd or (recently) free'd
==27916==
==27916==
==27916== Process terminating with default action of signal 11 (SIGSEGV)
==27916== Access not within mapped region at address 0x70
==27916== at 0x4E7418E: __cilkrts_ivar_read (ivar_full_blocking.c:59)
==27916== by 0x4E74A1D: cilk_write (concurrent_cilk_io.c:246)
==27916== by 0x401A19: runMap (in /nfs/nfs4/home/budkahaw/Builds/ccilk/cilk_tests/cilk_io/distfib/distfib.exe)
==27916== by 0x401622: distPfib (in /nfs/nfs4/home/budkahaw/Builds/ccilk/cilk_tests/cilk_io/distfib/distfib.exe)
==27916== by 0x401513: main (in /nfs/nfs4/home/budkahaw/Builds/ccilk/cilk_tests/cilk_io/distfib/distfib.exe)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.