I hereby claim:
- I am titan-c on github.
- I am oscarnajera (https://keybase.io/oscarnajera) on keybase.
- I have a public key ASBq2SH3YmEPUJd6LW0NZP2nzkVkSHEMBKoaUr9T6d2KTQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# -*- coding: utf-8 -*- | |
r""" | |
Simple query server | |
=================== | |
This program runs a server that is accessible on | |
http://localhost:4000/. When server receives a request on | |
http://localhost:4000/set?somekey=somevalue it should store the passed key | |
and value in memory. When it receives a request on |
HDF5-DIAG: Error detected in HDF5 (1.10.0) thread 0: | |
#000: H5I.c line 1449 in H5Iinc_ref(): can't increment ID ref count | |
major: Object atom | |
minor: Unable to increment reference count | |
#001: H5I.c line 1482 in H5I_inc_ref(): can't locate ID | |
major: Object atom | |
minor: Unable to find atom information (already closed?) | |
Traceback (most recent call last): | |
File "<stdin>", line 33, in <module> | |
File "/home/oscar/builds/buildtriqs/pytriqs/archive/hdf_archive.py", line 222, in __getitem__ |
# -*- coding: utf-8 -*- | |
""" | |
Created on Tue May 5 14:44:57 2015 | |
@author: oscar | |
""" | |
from docutils import nodes | |
from docutils.parsers.rst import directives | |
from docutils.parsers.rst.directives.images import Figure |
plotting plot_probabilistic_atlas_extraction.py | |
________________________________________________________________________________ | |
plot_probabilistic_atlas_extraction.py is not compiling: | |
Traceback (most recent call last): | |
File "/home/oscar/dev/nilearn/doc/sphinxext/sphinxgallery/gen_rst.py", line 508, in generate_file_rst | |
execfile(os.path.basename(src_file), my_globals) | |
File "plot_probabilistic_atlas_extraction.py", line 32, in <module> | |
labels = np.recfromcsv(csv_filename) | |
File "/home/oscar/miniconda/envs/mach/lib/python2.7/site-packages/numpy/lib/npyio.py", line 1910, in recfromcsv | |
output = genfromtxt(fname, **kwargs) |
1214757 function calls (1212402 primitive calls) in 3.903 seconds | |
Ordered by: cumulative time | |
ncalls tottime percall cumtime percall filename:lineno(function) | |
1 0.029 0.029 3.591 3.591 hirschfye.py:52(imp_solver) | |
9000 1.603 0.000 3.557 0.000 hirschfye.py:83(update) | |
260114 1.635 0.000 1.879 0.000 hirschfye.py:142(gnew) | |
520228 0.244 0.000 0.244 0.000 {method 'copy' of 'numpy.ndarray' objects |
#include <cstdlib> | |
#include <vector> | |
#include <iostream> | |
#include <cmath> | |
extern "C" | |
{ | |
#include <cblas.h> | |
} | |
(alps)oscar@lab-arch buildTri $cmake -DCMAKE_INSTALL_PREFIX=/home/oscar/libs -DUSE_CPP14=ON -DBuild_Documentation=ON ../triqs/ | |
-- Installation directory is /home/oscar/libs | |
-- The C compiler identification is GNU 4.9.2 | |
-- The CXX compiler identification is GNU 4.9.2 | |
-- 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 | |
-- Detecting C compile features | |
-- Detecting C compile features - done |
0.125 +/- 0.426956 | |
0.0763889 +/- 0.174719 | |
N = 100000 | |
L = 100 | |
(autocorrelation_time(A)) ---> 89 | |
(autocorrelation_time_from_binning(A,intrinsic_variance)) ---> 80.2806 | |
(autocorrelation_time_from_binning(A)) ---> 95.7671 |