biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't use fah_fsync
[alexxy/gromacs.git]
/
src
/
gromacs
/
mdlib
/
mdoutf.cpp
diff --git
a/src/gromacs/mdlib/mdoutf.cpp
b/src/gromacs/mdlib/mdoutf.cpp
index 950587952db12a0995a755f129ffa4c232149c46..0825e0ab7e33c6f292bc136ab8129b2a6cfde965 100644
(file)
--- a/
src/gromacs/mdlib/mdoutf.cpp
+++ b/
src/gromacs/mdlib/mdoutf.cpp
@@
-432,6
+432,15
@@
void mdoutf_write_to_trajectory_files(FILE* fplog,
nullptr, nullptr);
}
}
+
+#if GMX_FAHCORE
+ /* Write a FAH checkpoint after writing any other data. We may end up
+ checkpointing twice but it's fast so it's ok. */
+ if ((mdof_flags & ~MDOF_CPT))
+ {
+ fcCheckpoint();
+ }
+#endif
}
}