Hi, I have tried to build pytorch on Redhat 6 since the GLIBC version on Redhat 6 <=2.17. However, when I follow the instruction on github. I found below problem.
orr:~/pytorch > python3 setup.py install
Building wheel torch-1.1.0a0+7e73783
– Building version 1.1.0a0+7e73783
make: *** No rule to make target `install’.  Stop.
Traceback (most recent call last):
File “setup.py”, line 719, in 
build_deps()
File “setup.py”, line 285, in build_deps
build_dir=‘build’)
File “/suphys/gche4213/pytorch/tools/build_pytorch_libs.py”, line 281, in build_caffe2
check_call([‘make’, ‘-j’, str(max_jobs), ‘install’], cwd=build_dir, env=my_env)
File “/suphys/gche4213/anaconda3/lib/python3.7/subprocess.py”, line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘make’, ‘-j’, ‘8’, ‘install’]’ returned non-zero exit status 2.
Could you please help me out?
Cheers,
Guozhang