Please install GCC and MPICH in your computer before installing IM3D. If you have Homebrew in your mac, just type the following commands to your terminal to install GCC and MPICH: brew install gcc brew install mpich