This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execve("/usr/bin/curl", ["curl", "-v", "outlook.office.com"], [/* 84 vars */]) = 0 | |
brk(NULL) = 0xb47000 | |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdd80c03000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/home/ehermes/build/torch/install/lib/tls/x86_64/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/home/ehermes/build/torch/install/lib/tls/x86_64", 0x7ffd991ee240) = -1 ENOENT (No such file or directory) | |
open("/home/ehermes/build/torch/install/lib/tls/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/home/ehermes/build/torch/install/lib/tls", 0x7ffd991ee240) = -1 ENOENT (No such file or directory) | |
open("/home/ehermes/build/torch/install/lib/x86_64/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/home/ehermes/build/torch/install/lib/x86_64", 0x7ffd991ee240) = -1 ENOENT (No such file or directory) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execve("/usr/bin/curl", ["curl", "-v", "outlook.office.com"], [/* 84 vars */]) = 0 | |
brk(NULL) = 0xb47000 | |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdd80c03000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/home/ehermes/build/torch/install/lib/tls/x86_64/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/home/ehermes/build/torch/install/lib/tls/x86_64", 0x7ffd991ee240) = -1 ENOENT (No such file or directory) | |
open("/home/ehermes/build/torch/install/lib/tls/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/home/ehermes/build/torch/install/lib/tls", 0x7ffd991ee240) = -1 ENOENT (No such file or directory) | |
open("/home/ehermes/build/torch/install/lib/x86_64/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/home/ehermes/build/torch/install/lib/x86_64", 0x7ffd991ee240) = -1 ENOENT (No such file or directory) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execve("/usr/bin/curl", ["curl", "-v", "outlook.office.com"], [/* 84 vars */]) = 0 | |
brk(NULL) = 0xb47000 | |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdd80c03000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/home/ehermes/build/torch/install/lib/tls/x86_64/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/home/ehermes/build/torch/install/lib/tls/x86_64", 0x7ffd991ee240) = -1 ENOENT (No such file or directory) | |
open("/home/ehermes/build/torch/install/lib/tls/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/home/ehermes/build/torch/install/lib/tls", 0x7ffd991ee240) = -1 ENOENT (No such file or directory) | |
open("/home/ehermes/build/torch/install/lib/x86_64/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/home/ehermes/build/torch/install/lib/x86_64", 0x7ffd991ee240) = -1 ENOENT (No such file or directory) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execve("/usr/bin/curl", ["curl", "-v", "outlook.office.com"], [/* 84 vars */]) = 0 | |
brk(NULL) = 0xb47000 | |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdd80c03000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/home/ehermes/build/torch/install/lib/tls/x86_64/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/home/ehermes/build/torch/install/lib/tls/x86_64", 0x7ffd991ee240) = -1 ENOENT (No such file or directory) | |
open("/home/ehermes/build/torch/install/lib/tls/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/home/ehermes/build/torch/install/lib/tls", 0x7ffd991ee240) = -1 ENOENT (No such file or directory) | |
open("/home/ehermes/build/torch/install/lib/x86_64/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/home/ehermes/build/torch/install/lib/x86_64", 0x7ffd991ee240) = -1 ENOENT (No such file or directory) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import division, print_function | |
from random import shuffle | |
def makedeck(ncards): | |
deck = range(ncards) | |
shuffle(deck) | |
return deck | |
def inorder(deck): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import division, print_function | |
from random import shuffle | |
ncards = 60 | |
deck = range(ncards) | |
shuffle(deck) | |
def inorder(deck): | |
for i, j in enumerate(deck): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!! Generated by ASE !!! | |
&GLOBAL | |
PROJECT cp2k | |
&END GLOBAL | |
&FORCE_EVAL | |
METHOD Quickstep | |
STRESS_TENSOR ANALYTICAL | |
&STRESS_TENSOR ON | |
&END STRESS_TENSOR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from ase.build.bulk import bulk | |
from ase.calculators.vasp import Vasp | |
from ase.io import read | |
from ase.dft.band_structure import BandStructure | |
si = bulk('Si', 'diamond', a=5.4) | |
si.calc = Vasp(kpts=(4, 4, 4), xc='PBE') | |
si.get_potential_energy() | |
si.calc.set(icharg=11, # Read charge density from CHGCAR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from ase.build.bulk import bulk | |
from ase.calculators.vasp import Vasp | |
from ase.dft.kpoints import bandpath | |
from ase.io import read | |
from ase.dft.band_structure import BandStructure | |
si = bulk('Si', 'diamond', a=5.4) | |
si.calc = Vasp(kpts=(4, 4, 4), xc='PBE', ediff=1e-6) | |
si.calc.clean() | |
si.get_potential_energy() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kpts, kcart, kcartspecial = bandpath('WLGXWK', si.cell, npoints=100) | |
si.calc.set(icharg=11, # Read charge density from CHGCAR | |
kpts=kpts, | |
isym=0) |