安装割炬时如下:
git clone https://github.com/torch/distro.git ~/torch --recursive
cd ~/torch; bash install-deps;
在这一步:
bash install-deps
安装正确完成。但是我收到一条我不明白的消息。
OS ... Linux
Architecture ... x86_64
BINARY ... 64bit
C compiler ... GCC (command line : gcc)
Fortran compiler ... GFORTRAN (command line : gfortran)
Library Name ... libopenblas_haswellp-r0.2.20.dev.a (Multi threaded; Max num-threads is 8)
Use OpenMP in the multithreading. Because of ignoring OPENBLAS_NUM_THREADS and GOTO_NUM_THREADS flags,
you should use OMP_NUM_THREADS environment variable to control the number of threads.
To install the library, you can run "make PREFIX=/path/to/your/installation install".
make -j 8 -f Makefile.install install
make[1]: Entering directory '/tmp/OpenBLAS'
Generating openblas_config.h in /opt/OpenBLAS/include
Generating f77blas.h in /opt/OpenBLAS/include
Generating cblas.h in /opt/OpenBLAS/include
Copying LAPACKE header files to /opt/OpenBLAS/include
Copying the static library to /opt/OpenBLAS/lib
Copying the shared library to /opt/OpenBLAS/lib
Generating openblas.pc in /opt/OpenBLAS/lib/pkgconfig
Generating OpenBLASConfig.cmake in /opt/OpenBLAS/lib/cmake/openblas
Generating OpenBLASConfigVersion.cmake in /opt/OpenBLAS/lib/cmake/openblas
Install OK!
make[1]: Leaving directory '/tmp/OpenBLAS'
==> Torch7's dependencies have been installed
我不明白这一行:
To install the library, you can run "make PREFIX=/path/to/your/installation install".
要安装什么库以及如何安装?
运行前:
./install.sh