Hi Everybody!
I have tried to install Torch on my Fedora 25 distro.
I used the same dependencies list as on fedora 24.
During the installation i got some errors:
Building on 4 cores
-- Found Torch7 in /root/torch/install
-- MAGMA not found. Compiling without MAGMA support
-- Automatic GPU detection failed. Building for common architectures.
-- Autodetected CUDA architecture(s): 3.0;3.5;5.0;5.2;6.0;6.1;6.1+PTX
-- got cuda version 8.0
-- Found CUDA with FP16 support, compiling with torch.CudaHalfTensor
-- CUDA_NVCC_FLAGS: -gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_61,code=compute_61;-DCUDA_HAS_FP16=1
-- Configuring done
-- Generating done
-- Build files have been written to: /root/torch/extra/cutorch/build
[ 1%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCHalf.cu.o
[ 2%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorage.cu.o
[ 3%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCReduceApplyUtils.cu.o
[ 4%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCBlas.cu.o
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/include/stddef.h(436): error: identifier "nullptr" is undefined
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/include/stddef.h(436): error: expected a ";"
/usr/include/c++/6.2.1/x86_64-redhat-linux/bits/c++config.h(2092): error: expected a ";"
/usr/include/c++/6.2.1/exception(63): error: expected a ";"
/usr/include/c++/6.2.1/exception(69): error: expected a ";"
/usr/include/c++/6.2.1/exception(77): error: expected a ";"
etc
I know fedora 20, ..., 24 are supported by Torch. Has somebody idea how to fix problem of the installation in my case? Or I have to go back to fedora 24 to use torch in native mode.
What do you think about the Docker packages? I like use cutorch, indeed.
Thank you for your help!
Best regards,
Viktor