Unverified Commit 3bb7950e authored by Eisenhauer, Greg's avatar Eisenhauer, Greg Committed by GitHub
Browse files

Merge pull request #1067 from eisenhauer/ContactInfoFix

Only rank 0 should remove contact information
parents 5540bf08 f1ed411d
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -898,12 +898,15 @@ void SstWriterClose(SstStream Stream)
        Stream->Stats->ValidTimeSecs = (double)Diff.tv_usec / 1e6 + Diff.tv_sec;

    CP_verbose(Stream, "All timesteps are released in WriterClose\n");

    /*
     *  We'll go ahead and remove the contact info since multiple
     *  readers is not yet implemented
     *  Only rank 0 removes contact info, and only when everything is closed.
     */
    if (Stream->Rank == 0)
    {
        removeContactInfo(Stream);
    }
}

#ifdef NOTDEF
static FFSFormatList AddUniqueFormats(FFSFormatList List,