之后从进入rabit文件,里边内容如下: 产生lib文件 lib文件夹原本是空的,在lib里README.md是这么写的: This folder holds the library file generated by the compiler. To generate the library file, type make in the project root folder. If you want mpi compatible library, type make mpi 所以需要将文件进行编译,产生lib文件。 Makefile文件已经存在rabit目录里了,我们只需要在rabit目录下输入make就可以了,会出现如下库文件:
这些文件的介绍如下: List of Files
rabit.a The rabit package library
Normally you need to link with this one
rabit_mock.a The rabit package library with mock test
This library allows additional mock-test
rabit_mpi.a The MPI backed library
Link against this library makes the program use MPI Allreduce
This library is not fault-tolerant
rabit_empty.a Dummy package implementation
This is an empty library that does not provide anything
Only introduced to minimize code dependency for projects that only need single machine code