Skip to content

Instantly share code, notes, and snippets.

View ehermes's full-sized avatar

Eric Hermes ehermes

View GitHub Profile
[3108641.942] -> wl_display@1.get_registry(new id wl_registry@2)
[3108641.983] -> wl_display@1.sync(new id wl_callback@3)
[3108642.197] wl_display@1.delete_id(3)
[3108642.222] wl_registry@2.global(1, "wl_compositor", 3)
[3108642.241] -> wl_registry@2.bind(1, "wl_compositor", 3, new id [unknown]@4)
[3108642.254] wl_registry@2.global(2, "wl_shell", 1)
[3108642.261] -> wl_registry@2.bind(2, "wl_shell", 1, new id [unknown]@5)
[3108642.269] wl_registry@2.global(3, "wl_shm", 1)
[3108642.275] -> wl_registry@2.bind(3, "wl_shm", 1, new id [unknown]@6)
[3108642.282] wl_registry@2.global(4, "wl_seat", 4)
Portage 2.3.0 (python 2.7.11-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.4.0, glibc-2.23-r2, 4.6.4-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-4.6.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-2760QM_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem: 8178948 total, 5658136 free
KiB Swap: 3997472 total, 3997472 free
Timestamp of repository gentoo: Tue, 19 Jul 2016 13:03:05 +0000
sh bash 4.3_p46
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
{meoh_g + slab <-> methanol: 0.36432637571157495,
h2_g + slab + slab <-> h + h: -7.7507788552766016e-07,
o2_g + slab <-> o2: 0.4899933346865421,
h2o_g + slab <-> h2o: -0.97996967683334102,
propanol_g + slab <-> propanol: 1.0,
propanal_g + slab <-> propanal: -0.97996968824163733,
o2 + slab <-> o-o <-> o-o_post: 2.5631513493109567e-11,
o + o <-> o-o_post: -2.563150713828727e-11,
o + h <-> o-h_post: 0.00031292878734057986,
h2o + slab <-> ho-h <-> ho-h_post: -3.6062153665352151e-06,
#!/usr/bin/env python
from random import shuffle
import numpy as np
nb = 2 # Number of Bruna's in deck
ng = 3 # Number of Gisela's in deck
ncards = 60 # Total number of cards in deck
# Construct the deck
<?xml version="1.0" encoding="ISO-8859-1"?>
<modeling>
<generator>
<i name="program" type="string">vasp </i>
<i name="version" type="string">5.4.1 </i>
<i name="subversion" type="string">24Jun15 (build May 25 2016 11:07:12) gamma-only parallel </i>
<i name="platform" type="string">CHTC ACI </i>
<i name="date" type="string">2016 06 10 </i>
<i name="time" type="string">11:12:34 </i>
</generator>
!!! Generated by ASE !!!
&GLOBAL
PROJECT qtz_tddft
RUN_TYPE ELECTRONIC_SPECTRA
&END GLOBAL
&FORCE_EVAL
METHOD Quickstep
&DFT
EXCITATIONS tddfpt
BASIS_SET_FILE_NAME BASIS_SET
DBCSR| Multiplication driver BLAS
DBCSR| Multrec recursion limit 512
DBCSR| Multiplication stack size 1000
DBCSR| Maximum elements for images UNLIMITED
DBCSR| Randmat seed 12341313
DBCSR| Multiplication size stacks 3
DBCSR| Use MPI memory allocation T
DBCSR| Use RMA algorithm F
DBCSR| Use Communication thread T
DBCSR| Communication thread load 87
*** buffer overflow detected ***: /home/ehermes/build/cp2k-3.0/exe/Linux-x86-64-intel-nolibs/cp2k_shell.popt terminated
======= Backtrace: =========
/lib64/libc.so.6(__fortify_fail+0x37)[0x39d4d02567]
/lib64/libc.so.6[0x39d4d00450]
/lib64/libc.so.6[0x39d4cff8a9]
/lib64/libc.so.6(_IO_default_xsputn+0xc9)[0x39d4c74639]
/lib64/libc.so.6(_IO_vfprintf+0x11d8)[0x39d4c451a8]
/lib64/libc.so.6(__vsprintf_chk+0x9d)[0x39d4cff94d]
/lib64/libc.so.6(__sprintf_chk+0x7f)[0x39d4cff88f]
/home/ehermes/build/cp2k-3.0/exe/Linux-x86-64-intel-nolibs/cp2k_shell.popt(for__compute_filename+0x9e3)[0x2cb8e03]
class Temperature(object):
def __init__(self, T=0, unit='C'):
if unit == 'C':
self.C = T
elif unit == 'F':
self.F = T
elif unit == 'K':
self.K = T
else:
raise ValueError
#!/usr/bin/env python
from __future__ import print_function, division
class MultiplyBy(object):
def __init__(self, n):
self.n = n
def __getitem__(self, i):
return self.n * i