mpi.h is not available

When I write #include<mpi.h> Xcode sees this library but it produces an error when compiling! How to fix?

  • Cannot find mpidefs.h, most likely do not include include paths to this file. - Vladimir Pavluk
  • How to add libraries in Xcode? What is the way? And in the terminal when compiling it issues - dyld: Symbol not found: _clock_gettime Referenced from: /usr/local/lib/libopen-pal.20.dylib (which was built for Mac OS X 10.12) Expected in: / usr / lib / libSystem .B.dylib - Johnny
  • That is another question, isn't it? - Vladimir Pavluk
  • I want to solve this MPI problem once and for all - Johnny
  • The problem with MPI cannot be solved ... - Alex.B

0