Skip to content

Instantly share code, notes, and snippets.


Amit Murthy amitmurthy

View GitHub Profile
amitmurthy / distvalg.txt
Created Aug 8, 2017
valgrind distributed run
View distvalg.txt
amitmurthy@anubis:/data/amitmurthy/julia_new/julia/test$ valgrind --smc-check=all-non-file --trace-children=yes --suppressions=../contrib/valgrind-julia.supp ../julia runtests.jl distributed
==81640== Memcheck, a memory error detector
==81640== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==81640== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright info
==81640== Command: ../julia runtests.jl distributed
==81640== Conditional jump or move depends on uninitialised value(s)
==81640== at 0x703CB1E: (anonymous namespace)::AsmParser::Lex() (in /data/amitmurthy/julia_new/julia/usr/lib/
==81640== by 0x733DC75: (anonymous namespace)::X86AsmParser::ParseInstruction(llvm::ParseInstructionInfo&, llvm::StringRef, llvm::SMLoc, llvm::SmallVectorImpl<std::unique_ptr<llvm::MCParsedAsmOperand, std::default_delete<llvm::MCParsedAsmOperand> > >&) (in /data/amitmurthy/julia_new/julia/usr/lib/
==81640== by 0x70413A4: (anonymous namespace)::AsmPar
amitmurthy / pmap_bench.jl
Created May 30, 2017
pmap timings for a few typical use cases.
View pmap_bench.jl
#using BenchmarkTools
using NamedArrays
nprocs()==1 && addprocs(4);
data_szs = [10^n for n in 0:6];
coll_lengths = [100, 1000, 10000];
for (idx, sz) in enumerate(data_szs)
sym = Symbol("gv_$idx")
View channel_opt.jl
function foo(n)
for i in 1:10^n
function bar(t,n)
for i in 1:10^n
View av_error_log.txt
[00:00:00] Build started
[00:00:00] git config --global core.autocrlf input
[00:00:00] git clone -q --depth=50 C:\projects\julia
[00:00:05] git fetch -q origin +refs/pull/21021/merge:
[00:00:07] git checkout -qf FETCH_HEAD
[00:00:14] Restoring build cache
[00:00:14] Cache 'x86_64-4.9.2-release-win32-seh-rt_v4-rev3.7z' - Downloading (63,558,997 bytes)...1%
[00:00:15] Cache 'x86_64-4.9.2-release-win32-seh-rt_v4-rev3.7z' - Downloading (63,558,997 bytes)...10%
[00:00:15] Cache 'x86_64-4.9.2-release-win32-seh-rt_v4-rev3.7z' - Downloading (63,558,997 bytes)...20%
View gist:1f4597802dd08720e962fb92b0d9ca0e
Worker information
hostname: worker-jupiter-brain:169184e1-fd21-4dc3-8cfa-54f609400704
version: v2.6.1
instance: 6fb12191-b801-4fd1-82fb-633c383a1cda:travis-ci-osx10.11-xcode8-1479248015
startup: 1m19.348186616s
Build system information
View parallel_test_fail_28_07_16.log
I[00:00:00] Build started
[00:00:00] git config --global core.autocrlf input
[00:00:00] git clone -q --depth=50 C:\projects\julia
[00:00:06] git fetch -q origin +refs/pull/17658/merge:
[00:00:08] git checkout -qf FETCH_HEAD
[00:00:11] Restoring build cache
[00:00:11] Restoring "i686-4.9.2-release-win32-sjlj-rt_v4-rev3.7z"...
[00:00:15] OK
[00:00:15] Restoring "llvm-3.7.1-i686-w64-mingw32-juliadeps-r09.7z"...
[00:00:17] OK
View client.c
#include <stdio.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <string.h>
#include <arpa/inet.h>
#include <time.h>
int main(int argc, char ** argv){
int sock;
amitmurthy / sockecho.jl
Created Nov 12, 2015
Echoing back 64 bytes on a socket connection
View sockecho.jl
@everywhere begin
function server()
local s
local a
s = listen(9300)
while true
a = accept(s)
View DistributedArray_test_error
test distribute
> test default distribute
> test distribute with procs arguments
2 facts verified.
test DArray equality
> test isequal(::Array, ::DArray)
> test copy(::DArray) does a copy of each localpart
2 facts verified.
test @DArray comprehension constructor
> test valid use of @DArray
View profile_err.txt
ERROR: LoadError: On worker 2:
in remotecall_fetch at multi.jl:729
in remotecall_fetch at multi.jl:732
in anonymous at task.jl:1421
while loading /tmp/julia/share/julia/test/runtests.jl, in expression starting on line 5
*** glibc detected *** /tmp/julia/bin/julia: free(): invalid pointer: 0x086623c8 ***
======= Backtrace: =========
You can’t perform that action at this time.