0

I have installed Intel MPI on my Windows machine.

Quoting section 2.2 of FLANN library documentation:

the project that uses FLANN needs to be compiled with a compiler that supports the OpenMP standard and the OpenMP support must be enabled. The number of cores to be used can be selected with the cores in the SearchParams structure. By default a single core will be used. Setting the cores eld to zero will automatically use as many threads as cores available on the machine.

Since I never used neither Intel MPI or OpenMP, I don't know if it's ok to use the first one for this case and what "OpenMP support must be enabled" means.

justHelloWorld
  • 6,478
  • 8
  • 58
  • 138
  • @HighPerformanceMark Could you please check this question? http://stackoverflow.com/questions/37139468/cmake-doesnt-recognize-openmpi?noredirect=1#comment61820817_37139468 – justHelloWorld May 10 '16 at 14:19

1 Answers1

1

The Intel MPI is not a compiler. If you're looking for a compiler, try the Intel C++ Compiler or MinGW. OpenMP are integrated with these compilers, you just need to enable them with a switch. For Intel it's /Qopenmp. For GCC (MinGW) it's -fopenmp.

  • This is weird, since before the Intel MPI installation CMake could not detect any OpenMP support and now it does – justHelloWorld May 10 '16 at 04:20
  • @justHelloWorld, I guess you have Intel compilers installed too but they are not in the path. The library you are building is picking up the compiler wrapper(s) from Intel MPI and thus the Intel compiler(s). – Hristo Iliev May 10 '16 at 08:22
  • @HristoIliev Could you please check this question? http://stackoverflow.com/questions/37139468/cmake-doesnt-recognize-openmpi?noredirect=1#comment61820817_37139468 – justHelloWorld May 10 '16 at 14:19
  • @justHelloWorld, I'm sorry, I have zero understanding of CMake. – Hristo Iliev May 11 '16 at 07:22