How do I use the mpi.h in Xcode?

Viewed 4830

I have installed MPICH3.2 from the following the direction in given website

http://mpitutorial.com/tutorials/installing-mpich2/

I downloaded the tar file and in Downloads/ directory and installed using terminal.I wanted to test if my program works on my local machine before I submit to the remote machine.

The problem is when I write the header #include "mpi.h" Xcode doesn't recognize it. How do I add the MPICH library to the Xcode ? or how do I make it so that Xcode compiles using mpi?

2 Answers
Related