[mpich-discuss] compilation problem with mpich2-1.4

Benjamin Welton benjamin.r.welton at wmich.edu
Sat Jul 9 05:14:59 CDT 2011


Hey Jean-Michel,

> The kind (4) of this actual argument does not match that of its 
> associated dummy argument (8). 
>   call MPI_Type_hvector(ny,1,stride_x,column_type,new_type,mpi_err) 
The error is likely with the literal 1 value. It is being stored as 
integer 4 byte when the value should be (according to the error) 8 byte. 
This site ( http://www.arsc.edu/support/news/HPCnews/HPCnews215.shtml ) 
has a small section that talks about this error and how to fix it (not 
mpich specific but the same rules should still apply).

Ben

On 7/9/2011 1:40 AM, Jean-Michel Beuken wrote:
> Hello,
>
> same source version of my package ( fortran 90 ), same compiler ( gcc 
> 4.6.1 )  , same OS ( SL 6.0  x86_64 )
>
> same recipe to compile mpich2  ( 1.3.2p1 and 1.4 ) :
>
> --------------
> CC=gcc \
> FC=gfortran \
> F77=gfortran \
> ./configure --prefix=/usr/local/mpich2-1.X.Y_gcc461  --enable-fc 
> --enable-f77 \
>                   --disable-cxx --without-mpe --with-pm=gforker \
>                   --with-device=ch3:nemesis --enable-romio
>
> --------------
>
> everything working with mpich2 1.3.2p2
>
> but problem during compilation of my program with 1.4 :
>
> -----------------------
> ...
> make[3]: Entering directory 
> `/home/buildbot/WorkSpace/6.9.1-private/src/12_hide_mpi'
> /usr/local/mpich2_open64/bin/mpif90 -m64 -align64 -DHAVE_CONFIG_H -I. 
> -I../.. -I../../src/incs -I../../src/incs   -freeform -module 
> /home/buildbot/WorkSpace/6.9.1-private/src/mods -O2 -march=opteron 
> -msse2 -m64 -align64  -extend-source  -c -o m_xmpi.o m_xmpi.F90
>
>  use defs_basis,   only : i4b, i8b, sp, dp, spc, dpc, std_out, 
> std_out_default, tmp_unit, fnlen
>        ^
> openf95-855 openf90: ERROR M_XMPI, File = .F90, Line = 32, Column = 8
>   The compiler has detected errors in module "M_XMPI".  No module 
> information file will be created for this module.
>
>  call MPI_Type_hvector(ny,1,stride_x,column_type,new_type,mpi_err)
>                             ^
> openf95-1307 openf90: ERROR XMPIO_CREATE_FSUBARRAY_2D, File = 
> m_xmpi.F90, Line = 2038, Column = 29
>   The kind (4) of this actual argument does not match that of its 
> associated dummy argument (8).
> ...
> -----------------------
>
> What is the problem ?
>
> bug ?
>
> thanks
>
> jmb
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list