mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-05 07:28:05 +01:00
Debugging the RNG IO
This commit is contained in:
1 parent
4d4ac2517b
commit
ba37d51ee9
1 file changed
+2
-2
@@ -263,7 +263,7 @@ PARALLEL_CRITICAL
|
||||
GridBase *grid,
|
||||
std::vector<fobj> &iodata,
|
||||
std::string file,
|
||||
uint64_t offset,
|
||||
uint64_t& offset,
|
||||
const std::string &format, int control,
|
||||
uint32_t &nersc_csum,
|
||||
uint32_t &scidac_csuma,
|
||||
@@ -495,6 +495,7 @@ PARALLEL_CRITICAL
|
||||
exit(1);
|
||||
#endif
|
||||
}
|
||||
offset = fout.tellp();
|
||||
fout.close();
|
||||
}
|
||||
timer.Stop();
|
||||
@@ -699,7 +700,6 @@ PARALLEL_CRITICAL
|
||||
|
||||
IOobject(w,grid,iodata,file,offset,format,BINARYIO_WRITE|BINARYIO_LEXICOGRAPHIC,
|
||||
nersc_csum,scidac_csuma,scidac_csumb);
|
||||
|
||||
iodata.resize(1);
|
||||
{
|
||||
std::vector<RngStateType> tmp(RngStateCount);
|
||||
|
||||
Reference in new issue
Block a user