You need to add -I/opt/intel/mpich/include
(exact path may be specific for your instalation), for instance, FP FPOPT(par.comp.options): -I/opt/intel/mpich/include -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML Oleg Rubel On Fri, 11 Apr 2008, zhchwsd at 163.com wrote: > Dear all wien2k user, > I have install (ifort+mkl+scalapack+mpi+blacs) successfully, when I compile > the programm (lapw2 parallization),errors are reported as follow: > SRC_lapw2/compile.msg:fortcom: Error: modules_tmp_.F, line 40: Cannot open > include file 'mpif.h' > SRC_lapw2/compile.msg:fortcom: Error: modules_tmp_.F, line 41: This name does > not have a type, and must have an explicit type. [MPI_STATUS_SIZE] > SRC_lapw2/compile.msg:fortcom: Error: modules_tmp_.F, line 41: The highest > data type rank permitted is INTEGER(KIND=8). [MPI_STATUS_SIZE] > SRC_lapw2/compile.msg:fortcom: Error: modules_tmp_.F, line 43: This name does > not have a type, and must have an explicit type. [MPI_SUCCESS] > SRC_lapw2/compile.msg:fortcom: Error: modules_tmp_.F, line 47: This name does > not have a type, and must have an explicit type. [MPI_COMM_WORLD] > SRC_lapw2/compile.msg:make[1]: *** [modules.o] Error 1 > SRC_lapw2/compile.msg:make: *** [rp] Error 2 > SRC_lapw2/compile.msg:fortcom: Error: modules_tmp_.F, line 40: Cannot open > include file 'mpif.h' > SRC_lapw2/compile.msg:fortcom: Error: modules_tmp_.F, line 41: This name does > not have a type, and must have an explicit type. [MPI_STATUS_SIZE] > SRC_lapw2/compile.msg:fortcom: Error: modules_tmp_.F, line 41: The highest > data type rank permitted is INTEGER(KIND=8). [MPI_STATUS_SIZE] > SRC_lapw2/compile.msg:fortcom: Error: modules_tmp_.F, line 43: This name does > not have a type, and must have an explicit type. [MPI_SUCCESS] > SRC_lapw2/compile.msg:fortcom: Error: modules_tmp_.F, line 47: This name does > not have a type, and must have an explicit type. [MPI_COMM_WORLD] > SRC_lapw2/compile.msg:make[1]: *** [modules.o] Error 1 > _______________________________________________________________________________ > What's wrong with me? any suggestions are welcome! > c-w zhang > >