PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

pgf90: mpich-1 and flush()

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
hendrik84



Joined: 02 Nov 2011
Posts: 1

PostPosted: Wed Nov 02, 2011 10:10 am    Post subject: pgf90: mpich-1 and flush() Reply with quote

I am using the subroutine flush(unitnumber) in Fortran90 to print out stepwise output from an iterative computation to a file. It works fine on a single CPU - however, when I use MPI (mpich-1) and multiple CPUs, the output to the file is delayed so that I don't see the output every iteration. It seems to me as if the flush() call is ignored and the output is written once the buffer is full. Strange thing: it works fine with gfortran and mpich-2.

Can somebody help me? Thanks a lot...
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group