Re: [FLASH-USERS] MPI bug on Origin2000 ?

From: Anshu Dubey <dubey@tagore.uchicago.edu>
Date: Wed Jul 16 2003 - 14:27:15 CDT

Hi Mateusz,

The bug has nothing to do with MPI. What you need to do is change "ipart"
in flash.par to 1. With ipart=0, flash assumes that you have no particles
and does not assign space for them, so later in initialization when it
tries to retreive the number of particles from a non existent array, it
crashes. Hopefully that will fix the problem for you.

On Wed, 16 Jul 2003, Mateusz Ruszkowski wrote:

>
> Hi !
>
> I am having some trouble getting FLASH2.2 to run correctly with MPI on a
> multiprocessor SGI Origin2000 IRIX 6.5.14 system. I tried compiling and
> running the standard ``helix problem'' without success. I would be
> grateful for any advice on this problem. For example, following this
> procedure gives the error shown:
>
> % gmake realclean
> % ./setup helix -auto -maxblocks=10000
>
> then edit Modules file in FLASH2.2 and add the following lines:
> INCLUDE particles/passive
> INCLUDE particles/communication
> INCLUDE particles/mapping/ngp
>
> then type
>
> % ./setup helix -maxblocks=10000 (i.e no -auto option)
>
> and then do ``gmake'', which doesn't appear to give any errors.
>
> Here is what I get when I attempt to run the code (with Modules
> file modified):
>
> modi4 427% cd object/
> modi4 428% mpirun -np 2 flash2
> MPI: MPI_COMM_WORLD rank 0 has terminated without calling MPI_Finalize()
> MPI: aborting job
>
>
> Here are the library and option lines from the Makefile.h that I'm using:
>
> FCOMP = f90
> CCOMP = cc
> CPPCOMP = CC
> LINK = f90
> PP = -D
> HDF5_PATH = /afs/.ncsa.uiuc.edu/packages/hdf5/5-1.4.5-irix64pp/
> FFLAGS_OPT = -c -Ofast=ip27 -OPT:Olimit=0:IEEE_arithmetic=3:roundoff=3 -IPA \
> -I$(HDF5_PATH)/include -r8 -d8 -i4 -cpp \
> -r10000 -LNO -64
> CFLAGS_OPT = -I$(HDF5_PATH)/include -IPA -Ofast=ip27 \
> -c -64
> LFLAGS_OPT = -r8 -d8 -i4 -IPA -64 -o
> LIB_HDF5 = -L$(HDF5_PATH)/lib -lhdf5
> LIB_OPT = -lmpi
>

-- 
Anshu Dubey
Astronomy & Astrophysics
University of Chicago
5640 S. Ellis Ave.  Chicago IL 60637
Tel : (773) 834 2999
Fax : (773) 834 3230
Received on Wed Jul 16 14:32:18 2003

This archive was generated by hypermail 2.1.8 : Thu Aug 31 2006 - 21:20:48 CDT