[FLASH-USERS] MPI Question

Duncan Christie dachrist at uiuc.edu
Thu Feb 8 20:04:07 CST 2007


Hi,

I have been trying to get FLASH2.5 to run on a 
multi-node/multi-processor cluster.  To start, I tried running one of 
the test problems (sedov-2d) just to make sure everything worked, and 
it worked fine.   When I tried to get my code working (MHD w/ self 
gravity in 3d), FLASH only seemed to use 1 processor.  The log file 
reports that 16 processors are being used; however, it doesn't seem to 
be working. The reason I believe it is only using only one processor:

1.  I had it do a simply output for each processor (a simple "Hi, my 
processor id is..." in the init_block.F90).  I only get output from the 
first node.
2. If I run with more than MAXBLOCKS,  I get an error saying it cannot 
add another block.  If I understand it correctly, MAXBLOCKS is the 
maximum number of blocks for a single processor.
3. It isn't running any faster than on a single processor :-)

I don't know what could have been done.  The only files I modified are  
init_block.F90 and user_bnd.F90, both of which don't seem to deal with 
the MPI.  Does anybody have a suggestion what could be going wrong?

Duncan




More information about the flash-users mailing list