Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorRandom.cu.o Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorMathMagma.cu.o Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorMath.cu.o Build files have been written to: /home/alexis/src/pytorch/torch/lib/build/THC CUDA_NVCC_FLAGS: -DTH_INDEX_BASE=0 -I/home/alexis/src/pytorch/torch/lib/tmp_install/include -I/home/alexis/src/pytorch/torch/lib/tmp_install/include/TH -I/home/alexis/src/pytorch/torch/lib/tmp_install/include/THC -I/home/alexis/src/pytorch/torch/lib/tmp_install/include/THPP -gencode arch=compute_50,code=sm_50 -DCUDA_HAS_FP16=1 Found CUDA with FP16 support, compiling with torch.CudaHalfTensor MAGMA LIBRARIES: /home/alexis/anaconda2/lib/libmagma.a MAGMA INCLUDE DIRECTORIES: /home/alexis/anaconda2/include TH_LIBRARIES: /home/alexis/src/pytorch/torch/lib/tmp_install/lib/libTH.so.1 Up-to-date: /home/alexis/src/pytorch/torch/lib/tmp_install/include/THNN/generic/THNN.h Up-to-date: /home/alexis/src/pytorch/torch/lib/tmp_install/include/THNN/THNN.h Installing: /home/alexis/src/pytorch/torch/lib/tmp_install/lib/libTHNN.so Installing: /home/alexis/src/pytorch/torch/lib/tmp_install/lib/libTHNN.so.1 I also have a compilation error when trying to install from source: Install the project. So Could you make me aware about the source of the problem? Actually, how can I solve this problem? $ python setup.py install ( error has occurred when running this command) $ export MACOSX_DEPLOYMENT_TARGET=10.9 # if OSX $ conda install numpy mkl setuptools cmake gcc cffi $ export CMAKE_PREFIX_PATH=/home/yunjey/anaconda3 # your anaconda path The installation commands which I’ve used were: See also “/home/mlcmdeep/pytorch/torch/lib/build/THC/CMakeFiles/CMakeOutput.log” – Configuring incomplete, errors occurred! home/mlcmdeep/pytorch/cmake/FindCUDA/FindCUDA.cmake:1013 (find_package_handle_standard_args) home/mlcmdeep/anaconda3/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) lib files in the Linker->Input tab in visual studioĪdd the above main.When I was installing the pytorch based on its source, I’ve encountered with this error:ĬMake Error at /home/mlcmdeep/anaconda3/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:148 (message):Ĭould NOT find CUDA (missing: CUDA_CUDART_LIBRARY) (found suitable version lib file is to the list of library directories in the Linker->General tab of the propertiesĪdd CoolProp.lib to the list of. Generate the static library following the command line instructions above, ensuring that you have selected the proper visual studio version as well as Win64 in your generator if you would like a 64-bit static libraryĬreate a new empty project in visual studio, change to 64-bit (圆4) build type if you would likeĪdd the include directory of CoolProp to the list of include directories the C/C++->General tab in visual studioĪdd the directory where the. Mingw+gcc: If you use mingw, follow the instructions like for linux and OSX, and leave off the -ldl argument to the compilation. On windows the two main compiler families are Visual Studio and MINGW+GCC. In gcc and mingw ports of gcc, make sure that the -lCoolProp is the last argument in the line, otherwise you will certainly get linking errors.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |