ViewVC logotype

Revision 1877

Jump to revision: Previous Next
Author: ksteube
Date: Tue Oct 14 02:58:39 2008 UTC (10 years, 7 months ago)
Changed paths: 7
Log Message:
convection.py checkpointing uses mkdir/rmdir, and under MPI there
was a race condition.

mkdir needs to be run on only one CPU and then a barrier to prevent
working processors from using the directory before it exists.

Added methods domain.MPIBarrier and domain.onMasterProcessor() to
implement this technique.

A more general solution might be possible in the future.

Changed paths

Path Details
Directorytrunk/escript/src/AbstractDomain.cpp modified , text changed
Directorytrunk/escript/src/AbstractDomain.h modified , text changed
Directorytrunk/escript/src/escriptcpp.cpp modified , text changed
Directorytrunk/finley/src/CPPAdapter/MeshAdapter.cpp modified , text changed
Directorytrunk/finley/src/CPPAdapter/MeshAdapter.h modified , text changed
Directorytrunk/finley/src/CPPAdapter/finleycpp.cpp modified , text changed
Directorytrunk/finley/test/python/convection.py modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.26