This file contains 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
vasyurhm@vasyurhm:~/Software/pytorch$ python setup.py clean | |
Traceback (most recent call last): | |
File "setup.py", line 434, in <module> | |
main_sources += split_types("torch/csrc/Tensor.cpp") | |
File "/home/vasyurhm/Software/pytorch/tools/setup_helpers/split_types.py", 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 setup.py clean | |
running clean | |
vasyurhm@vasyurhm:~/Software/pytorch$ sudo python setup.py install |
This file contains 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
#!/usr/bin/env python | |
""" | |
Parallel Tempering algorithm with mpi4py | |
""" | |
from __future__ import print_function | |
from mpi4py import MPI | |
from numpy import random | |
nsamples = 100 |