I'm trying to get a setup working for developing mpi programs using Eclipse on OSX Yosemite. My mpi installation was done via homebrew and I have added /usr/local/bin to my path via .bash_profile.
My problem is, that when I open Eclipse mpicc is not in my path. I could manually add it to the project configurations or add a PATH environment variable to the project and that would compile, but I can't use Eclipse PTP tools because it still can't find the mpi binaries.
So my question is, how do I configure Eclipse to include /usr/local/bin into it's path?
Any help would be greatly appreciated.