[root@localhost SPECFEM3D]# ./configure FC=ifort MPIFC=mpif90 checking whether the Fortran compiler works... yes checking for Fortran compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU Fortran compiler... no checking whether ifort accepts -g... yes configure: running /bin/sh flags.guess checking how to get verbose linking output from ifort... -v checking for Fortran libraries of ifort... -L/opt/intel/composerxe-2011.2.137/compiler/lib/ia32 -L/opt/intel/composerxe-2011.2.137/mkl/lib/ia32 -L/opt/intel/composerxe-2011.2.137/compiler/lib/ia32/ -L/opt/intel/composerxe-2011.2.137/mkl/lib/ia32/ -L/usr/lib/gcc/i386-redhat-linux/4.1.1/ -L/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../ -L/lib/ -L/usr/lib -lifport -lifcore -limf -lsvml -lm -lipgo -lirc -lirc_s -ldl checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for dummy main to link with Fortran libraries... none checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore checking for Fortran flag to compile .f90 files... none checking for Fortran flag needed to accept free-form source... none checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for scotchfarchinit in -lscotch... no checking whether Scotch is usable... no, using bundled scotch instead checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for bison... bison -y checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no pthread found checking whether mpif.h works... no configure: error: in `/root/Desktop/SPECFEM3D': configure: error: cannot compile a trivial MPI program using mpif90 See `config.log' for more details [root@localhost SPECFEM3D]#