Package taskPR build failure report

Build errors
ERROR: configuration failed for package 'taskPR'
Build output
* checking for file 'taskPR/DESCRIPTION' ... OK
* preparing 'taskPR':
* checking DESCRIPTION meta-information ... OK
* cleaning src
rm -f extra.o mpspawn.o scheduler.o worker.o hashtable.o peval.o spawnhelper.o spawnhelper ../exec/spawnhelper taskPR.so
* checking whether 'INDEX' is up-to-date ... NO
* use '--force' to overwrite the existing 'INDEX'
* removing junk files
* checking for LF line-endings in source files
* checking for empty directories
* building binary distribution
* Installing *source* package 'taskPR' ...
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for mpi.h... no
Try to find mpi.h ...

Cannot find mpi header file.
Please use --with-mpi=/path/to/mpi
** Removing '/private/tmp/Rinst.9844/taskPR'
ERROR
* installation failed