-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The configure'' script cannot find
mpi.h'' even though it is installed
#6
Comments
What OS is it and how did you install MPI? |
Please also look into the relevant flags of the configure script to fine-tune the location of the MPI directories:
|
Thanks for replies. I tried under Debian 7.0 and Ubuntu 14.04. I installed the mpich packages (dev versions as well) from the software repository. I checked that the system include directories actually have the mpi.h file. This is how I was certain (more or less) that MPI has been installed. Do you need more details? |
MPICH is a bit quirkier than, say, OpenMPI, but I compiled and ran Somoclu with it before. What do you get for In any case, please note that MPI is required if you want to run it on a cluster. If you only want to run it on a multicore machine, then that level of parallelism is taken care of by OpenMP, so you might not need MPI at all. |
@usptact I just tried in a ubuntu 14.04 machine.
and run the configure script with:
works. |
The ``--with-mpi=/usr/'' parameter was the key! Everything compiles and runs on both machines! Thanks for all your work and help with this issue! |
The "configure" script fails to find the "mpi.h" include file. I am pretty sure that the MPI has been installed correctly.
What steps can be taken to debug and resolve the issue?
The text was updated successfully, but these errors were encountered: