Skip to content

Instantly share code, notes, and snippets.

View JaredCrean2's full-sized avatar

Jared Crean JaredCrean2

  • Rensselaer Polytechnic Institute
  • Troy, NY
View GitHub Profile
INFO: Testing ODLCommonTools
WARNING: Method definition setindex!(Base.SparseArrays.SparseMatrixCSC{T, Ti}, Any, Integer, Integer) in module SparseArrays at sparse/sparsematrix.jl:2299 overwritten in module ODLCommonTools at /home/creanj/pkgtest2/v0.6/ODLCommonTools/src/sparse.jl:667.
Test Summary: | Pass Total
----- Testing Interface and Boundary ----- | 14 14
testing BLAS fallbacks
creating SparseMatrixCSC
average bandwidth = 2.25
creating SparseMatrixCSC
average bandwidth = 2.25
0.000052 seconds (29 allocations: 1.578 KiB)
From 6cd0605d6dc4bb39aa576ead70c41c8930738fac Mon Sep 17 00:00:00 2001
From: jared <jcrean01@gmail.com>
Date: Wed, 3 Jan 2018 18:42:37 -0500
Subject: [PATCH 1/2] minor fixes to get the tests to pass
---
src/error.jl | 6 +++---
src/ksp.jl | 2 +-
src/mat.jl | 2 +-
src/mat_interface.jl | 2 +-
@JaredCrean2
JaredCrean2 / Debugging backtrace
Created December 7, 2017 20:29
AbstractSparseMatrixCSC segfault
Running under gdb
Thread 1 "julia-debug" received signal SIGSEGV, Segmentation fault.
0x00007ffff7514304 in jl_svecref (t=0x0, i=0)
at /home/jared/build/julia_jc/src/julia.h:704
704 assert(jl_typeis(t,jl_simplevector_type));
(gdb) bt
#0 0x00007ffff7514304 in jl_svecref (t=0x0, i=0)
at /home/jared/build/julia_jc/src/julia.h:704
#1 0x00007ffff751c090 in jl_gf_invoke_lookup (types=0x7fffeb51f830,
world=18446744073709551615) at /home/jared/build/julia_jc/src/gf.c:2017
Acquire::Check-Valid-Until false;
^CERROR: InterruptException:
in abstract_call_gf at ./inference.jl:712
in abstract_call at ./inference.jl:879
in abstract_eval_call at ./inference.jl:934
in abstract_eval at ./inference.jl:961
in abstract_interpret at ./inference.jl:1120
in typeinf_uncached at ./inference.jl:1549
in typeinf at ./inference.jl:1339
in typeinf at ./inference.jl:1289
in abstract_call_gf at ./inference.jl:737
Starting program: /home/jared/build/julia_noc_debug/usr/bin/julia-debug --compile=no --sysimage sys-all.so -q
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff6262700 (LWP 30851)]
[New Thread 0x7ffdeae0d700 (LWP 30852)]
[New Thread 0x7ffde860c700 (LWP 30853)]
[New Thread 0x7ffde5e0b700 (LWP 30854)]
# entered println("hello world") into the repl
#!/bin/bash
# get julia
git clone https://github.com/JuliaLang/julia.git
cd ./julia
git pull
#git checkout jn/release-0.5-fix-compile-all
# the branch doesn't exist anymore, so use the commit
git checkout 30583268f4ec716c824f9c906f03a75f73e255f8
@JaredCrean2
JaredCrean2 / errout
Created February 10, 2017 01:23
julia_noc attempt 2
This file has been truncated, but you can view the full file.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0
100 327 100 327 0 0 71 0 0:00:04 0:00:04 --:--:-- 71
100 327 100 327 0 0 71 0 0:00:04 0:00:04 --:--:-- 80
execve("./julia", ["./julia"], [/* 35 vars */]) = 0
brk(0) = 0x140b000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fae90c04000
readlink("/proc/self/exe", "/fasttmp/creanj/build/julia_0.6_"..., 4096) = 47
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/fasttmp/creanj/build/julia_0.6_2/usr/bin/../lib/tls/x86_64/libjulia.so.0.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/fasttmp/creanj/build/julia_0.6_2/usr/bin/../lib/tls/x86_64", 0x7ffc38cbbdc0) = -1 ENOENT (No such file or directory)
open("/fasttmp/creanj/build/julia_0.6_2/usr/bin/../lib/tls/libjulia.so.0.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/fasttmp/creanj/build/julia_0.6_2/usr/bin/../lib/tls", 0x7ffc38cbbdc0) = -1 ENOENT (No such file or directory)
@JaredCrean2
JaredCrean2 / gist:a55e6f5ecd5c05c1ff8cfa8895285c53
Created January 21, 2017 01:23
STDERR from JULIACODEGEN=none
This file has been truncated, but you can view the full file.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 %% TToottaall %% RReecceeiivveedd %% XXffeerrdd AAvveerraaggee SSppeeeedd TTiimmee TTiimmee Ti mTei m eC u rCruernrte
n t
D l o a d D lUopaldo a dU p l oTaodt a l T o tSaple n t S p e nLte f t LSepfete d
Spe
e d
0
0 0 00 0 0 00 0 0 0 0 0 0 - - :0- --:--:-- --:--:-- --:--:-- --:--:-- --:--:-- - : - - 0 0 % Total % Received % Xferd Average Speed Time Time Time Current