Cannot open include ' mpif.f'

Cannot open include ' mpif.f'

Installing the program Dalton2011 with Openmpi-1.4.3 I got the message

Cannot open include file 'mpif.h' - It sems a typical compilation problem.

Openmpi was compiled as follows:
FFLAGS=-i8 FCFLAGS=-i8 ./configure --prefix=/usr/local/openmpi-1.4.3 FC=ifort F77=ifort
No error was printed out and 'missing file' is available in /usr/local/openmpi.../include.

When I try to compile Dalton to generate the Makafile.config I use ./configure -linux and a sequence of Yes/No options are presented. Nothing can be typed at this point.

How can I use the link command so during the ./configure or make process the compiler finds the mpif.h file? All my attempts with -l/... or -I/... failed.

Can something be included in the Makefile.config to instruct the link?

Thank you

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.