ICG not setting default checkpointing io correctly. #308

If a checkpoint_io field is found we were or'ing this in to bits already
set by default.  Clear the bits first.
This commit is contained in:
Alex Lin 2016-09-14 09:38:28 -05:00
parent 256c83a876
commit 9801e3d210

View File

@ -267,7 +267,7 @@ void FieldDescription::parseComment(std::string comment) {
if ( chkpnt_io_found == true ) {
// If a checkpoint I/O spec is found add it to the io field.
io |= (chkpnt_io << 2 ) ;
io = (chkpnt_io << 2 ) + ( io & 3 ) ;
} else {
// else duplicated the io field to the chkpnt io field.
io |= (io << 2 ) ;