[MPICH] Process 545460846592 of 2 is alive

William Gropp gropp at mcs.anl.gov
Tue Oct 18 14:16:04 CDT 2005


At 01:06 PM 10/18/2005, Ted Sariyski wrote:
>Hi,
>I compiled mpich-2-1.0.2 with G95 (GCC 4.0.1 (g95!) Oct  8 2005) on a
>x86_64/SuSe9 platform. It compiles fine but when I run f90 examples
>instead of Process 1,2 etc.  I get Process  545460846592,  545460846593
>that never return unless killed. Here is how I compile mpich and run
>pi3f90:

Are Fortran integers in g95 4 bytes or 8 bytes on your platform?  On some 
64 bit platforms, we've heard (and the g95 web site confirms) that the 
default integer is 8 bytes, which is not correct Fortran 95 (the size of an 
integer must be the same as a real and half that of a double 
precision).  You might try adding -i4 (or something like that; check the 
g95 web page) to the definitions of FC and F90 to get correct behavior.

Bill


>export FC="g95 -ffixed-form -fno-underscoring"
>export F90="g95 -ffixed-form -fno-underscoring"
>./configure --prefix=/usr/local/mpich2-1.0.2_g95 --enable-f77
>--enable-f90
>
>  make
>../../bin/mpif90  -c pi3f90.f90
>../../bin/mpif90  -o pi3f90 pi3f90.o  -lpthread  -lrt
>
>  mpirun -np 2 ./pi3f90
>  Process  545460846592  of  2  is alive
>  Process  545460846593  of  2  is alive
>
>
>Any help will be highly appreciated.
>Thanks, Ted

William Gropp
http://www.mcs.anl.gov/~gropp 




More information about the mpich-discuss mailing list