Created
November 11, 2015 08:24
-
-
Save ranjanan/dc8f5912a1080415ff6b to your computer and use it in GitHub Desktop.
How to reproduce seg faults for multi-threaded Julia
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First, | |
git clone https://github.com/ranjanan/MT-Workloads.git | |
Then cd into ALS/ | |
On the julia REPL, | |
include("ALS.jl") | |
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First, | |
git clone https://github.com/ranjanan/MT-Workloads.git | |
cd into Graph500/thread/ | |
On the julia REPL, | |
include("graph500.jl") | |
graph500(15,15) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First, | |
git clone https://github.com/ranjanan/MT-Workloads.git | |
cd into PageRank/ | |
On the julia REPL, | |
include("pagerank.jl") | |
API("web-google.txt") | |
This file web-google.txt should be available in the same folder. If not, you can download it here: http://snap.stanford.edu/data/web-Google.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First, | |
git clone https://github.com/ranjanan/MT-Workloads.git | |
cd into thread-safe/ | |
This basically implements a type called tsqueue which just contains a vector and a SpinLock. Everytime you modify the array in a threaded environment, it locks, gets modified, then unlocks. | |
On the julia REPL, | |
include("queue.jl") | |
include("test.jl") | |
#This test doesn't pass for some odd reason, and I was wondering why. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment