Skip to content

Instantly share code, notes, and snippets.


Hannes Vasyura-Bathke hvasbath

View GitHub Profile
hvasbath /
Created May 20, 2018
MPI skeleton for PT algorithm
#!/usr/bin/env python
Parallel Tempering algorithm with mpi4py
from __future__ import print_function
from mpi4py import MPI
from numpy import random
nsamples = 100
hvasbath / pytorch_build.log
Created Nov 4, 2017
compilation error from source
View pytorch_build.log
vasyurhm@vasyurhm:~/Software/pytorch$ python clean
Traceback (most recent call last):
File "", line 434, in <module>
main_sources += split_types("torch/csrc/Tensor.cpp")
File "/home/vasyurhm/Software/pytorch/tools/setup_helpers/", line 53, in split_types
with open(gen_path, 'w') as f:
IOError: [Errno 13] Permission denied: '/home/vasyurhm/Software/pytorch/torch/csrc/generated/TensorDouble.cpp'
vasyurhm@vasyurhm:~/Software/pytorch$ sudo python clean
running clean
vasyurhm@vasyurhm:~/Software/pytorch$ sudo python install