[Wien] lapw_mpi compiler

Robert Laskowski rolask at theochem.tuwien.ac.at
Fri Apr 11 10:30:38 CEST 2008


hi,
compiler connot find mpif.h, which is included into the sources. This is probably because you did not initialize your
mpi eviroment

you need something like:

setenv MPI_ROOT /opt/local/mvapich-0.9.8-intel

or/and

setenv MVAPICH_HOME /opt/local/mvapich-0.9.8-intel

regards

Robert

On Friday 11 April 2008 10:13:30 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 
>  
>    



-- 
Dr Robert Laskowski

Vienna University of Technology, 
Institute of Materials Chemistry, 
Getreidemarkt 9/165-TC, A-1060 Vienna

tel. +43 1 58801 15686
Fax  +43 1 58801 15698


More information about the Wien mailing list