Skip to content

Instantly share code, notes, and snippets.

@scopatz
scopatz / eds
Created November 14, 2012 18:10
EAF Data Source
{
"metadata": {
"name": "eds"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
# Adapted from
# http://pytables.github.io/usersguide/libref/homogenous_storage.html#the-carray-class
import os
import numpy
import tables
from itertools import groupby
from operator import itemgetter
from time import time
@scopatz
scopatz / ptout.txt
Last active December 27, 2015 01:19
PyTables test failures
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PyTables version: 3.1.0dev
HDF5 version: 1.8.11
NumPy version: 1.9.0.dev-eb40f65
Numexpr version: 2.1.1.dev (not using Intel's VML/MKL)
Zlib version: 1.2.8 (in Python interpreter)
LZO version: 2.06 (Aug 12 2011)
BZIP2 version: 1.0.6 (6-Sept-2010)
Blosc version: 1.2.3 (2013-05-17)
Cython version: 0.20dev
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
scopatz@ares ~/cyclus gidden-lpsolver $ rm -r build/
scopatz@ares ~/cyclus gidden-lpsolver $ ./install.py
/usr/bin/cmake
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
scopatz@ares ~/cyclus gidden-lpsolver $ rm -r build/
scopatz@ares ~/cyclus gidden-lpsolver $ ./install.py
/usr/bin/cmake
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
scopatz@ares ~/pyne/tests crbates-nds_data $ nosetests
/usr/lib/python2.7/dist-packages/nose/plugins/manager.py:395: RuntimeWarning: Unable to load plugin KnownFailure = matplotlib.testing.noseclasses:KnownFailure: (pyparsing 2.0.1 (/usr/lib/python2.7/dist-packages), Requirement.parse('pyparsing>=1.5.6,<2.0.0'))
RuntimeWarning)
.....................................................................................................................Requested faceting tolerance: 0
Using faceting tolerance: 0.001
The implicit complement bounds 6 surfaces
The implicit complement's total surface area = 431.475
..................E............E.............................................................................................................................................................................................................................................................................................................................................................................................
scopatz@ares ~/xdress/tests feature/union-support $ nosetests
........F.EE.................................................................................................................................................................................................................................................................................................................................
======================================================================
ERROR: test_cproj.test_all('/usr/bin/python setup.py install --prefix="/home/scopatz/xdress/tests/cproj/install-pycparser" --root="/" -- --', '/home/scopatz/xdress/tests/cproj', [0])
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/scopatz/xdress/tests/tools.py", line 49, in check_cmd
print("STDOUT + STDERR:\n\n" + f.read().decode())
@scopatz
scopatz / stdout
Created March 3, 2014 20:32
nosetests test_compile failures
scopatz@ares ~ $ cd openmc
scopatz@ares ~/openmc master $ cd tests/
scopatz@ares ~/openmc/tests master $ nosetests test_compile
....FFF...FFFFFFFFFFFFFFFFFFFFFFFF
======================================================================
FAIL: test_compile.test_mpi
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
@scopatz
scopatz / ouchies
Created March 21, 2014 02:15
Ouch
virtual void InitFrom(StubFacility* m) {};
virtual void InitFrom(stubs::StubFacility* m) {
cyclus::Facility::InitFrom(m);
};