2012/8/27 Roy Stogner <[email protected]>: > > On Mon, 27 Aug 2012, 蔡园武 wrote: > >> It seems that the processor_id 0 is writing equation_systems to file >> "Iter_0.gmv", and at the same time, processor_id 1 is trying to open >> the file "Iter_0.gmv". Is it correct? > > > That would be my first guess. > > >> I don't know much about MPI. Could someone explain this error, > > > For serialized file formats, we gather data to processor_id 0 and then > other processors are allowed to continue while 0 writes. > > >> and how to solve it? > > > Try a Parallel::barrier() call after the GMVIO? > --- > Roy
I found the definition of Parallel::barrier: void libMesh::Parallel::barrier ( const Communicator & comm = Communicator_World ) [inline] and the explanation: Pause execution until all processors reach a certain point. But I don't know what should be 'a certain point'? What can I pass as variable 'Communicator_World'? Thanks! -- Cai Yuanwu 蔡园武 Dept. of Engineering Mechanics, Dalian University of Technology, Dalian 116024, China ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
