I was trying to install pytorch v0.2.0 and this is the error that I got.


Install the project…
– Install configuration: “Release”
– Installing: /home/sharm267/pytorch/torch/lib/tmp_install/lib/libshm.so
– Set runtime path of “/home/sharm267/pytorch/torch/lib/tmp_install/lib/libshm.so” to “”
– Installing: /home/sharm267/pytorch/torch/lib/tmp_install/include/libshm.h
– Installing: /home/sharm267/pytorch/torch/lib/tmp_install/bin/torch_shm_manager
– The C compiler identification is GNU 4.8.5
– The CXX compiler identification is GNU 4.8.5
– Check for working C compiler: /usr/bin/gcc
– Check for working C compiler: /usr/bin/gcc – works
– Detecting C compiler ABI info
– Checking if C linker supports --verbose
– Checking if C linker supports --verbose - yes
CMake Error: Remove failed on file: /home/sharm267/pytorch/torch/lib/build/ATen/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_cabb2.dir/.nfs000000000b6109c800000066: System Error: Device or resource busy
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Check for working CXX compiler: /usr/bin/g++
– Check for working CXX compiler: /usr/bin/g++ – works
– Detecting CXX compiler ABI info
– Checking if CXX linker supports --verbose
– Checking if CXX linker supports --verbose - yes
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– TH_LIBRARIES: /home/sharm267/pytorch/torch/lib/tmp_install/lib/libTH.so.1
– THNN_LIBRARIES: /home/sharm267/pytorch/torch/lib/tmp_install/lib/libTHNN.so.1
– Found CUDA: /usr/local/cuda-8.0 (found suitable version “8.0”, minimum required is “5.5”)
– THC_LIBRARIES: /home/sharm267/pytorch/torch/lib/tmp_install/lib/libTHC.so.1
– THCS_LIBRARIES: /home/sharm267/pytorch/torch/lib/tmp_install/lib/libTHCS.so.1
– THCUNN_LIBRARIES: /home/sharm267/pytorch/torch/lib/tmp_install/lib/libTHCUNN.so.1
Excluding arange
Excluding arange
Excluding arange
Excluding arange
Excluding random_
Excluding random_
Excluding random_
Excluding random_
Excluding random_
Excluding random_
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal_
Excluding normal_
Excluding normal_
Excluding normal_
Excluding normal_
Excluding normal_
Excluding exponential_
Excluding exponential_
Excluding exponential_
Excluding exponential_
Excluding bernoulli
Excluding bernoulli
Excluding bernoulli
Excluding bernoulli
Excluding bernoulli_
Excluding bernoulli_
Excluding bernoulli_
Excluding bernoulli_
Excluding bernoulli_
Excluding bernoulli_
Excluding bernoulli_
Excluding bernoulli_
Excluding bernoulli
Excluding bernoulli
Excluding bernoulli_
Excluding bernoulli_
Excluding bernoulli_
Excluding bernoulli_
– Configuring incomplete, errors occurred!
See also “/home/sharm267/pytorch/torch/lib/build/ATen/CMakeFiles/CMakeOutput.log”.


Any idea how to deal with it?