I think i found a solution, and i'll post it here:
Following ./configure and make all install your open mpi libs and
headers should be in /usr/local/lib and /usr/local/include.
Header Search Paths: /usr/local/include
Library Search Paths: /usr/local/lib
add the following (4) frameworks/libraries: libmpi.dylib
libmpi_cxx.dylib libopen-pal.dylib and libopen-ret.dylib
your code should work. Make sure that you recompile previous static
libraries with these files or you will get undefined objects... (i
think)
Tony