I installed Eclipse for parallel applications and MPI v. 2.
I created a new Hello World MPI project inside Eclipse and run it using 4 processes. I can create and run it from Eclipse, it works.
Eclipse also correctly recognizes MPI artifacts.
I configured inclusions as described here: http://help.eclipse.org/juno/topic/org.eclipse.ptp.pldt.doc.user/html/includes.html
However, I get a lot of errors in the MPI artifact in the source code, the same errors as in the link above:
Indexer cannot find your include file
"If the indexer cannot find your MPI header file, you may see the following problems:
If your MPI header file is located in a global area that is automatically included in your project, specify the path location, for example / usr / include or / usr / local / include, then everything will work fine, without further changes. Creation and indexing are likely to work correctly.
If you are not using mpicc or a similar build command and you need to include include information and libpath to build and build, you probably want to set PLDT preferences to your include path for MPI, in which case include and link will be added to your commands assembly. "
My code works, but I think it's impossible to work with these red lines in every MPI instruction.
So my question is: how do I configure Eclipse to recognize MPI functions without telling me that there are errors?
Using Ubuntu 64 bit with the latest version of MPI and Eclipse.