add native script

This commit is contained in:
tqchen
2014-12-30 04:37:50 -08:00
parent 1bcea65117
commit bfb9aa3d77
5 changed files with 65 additions and 23 deletions

View File

@@ -85,7 +85,8 @@ class AllreduceMock : public AllreduceRobust {
inline void Verify(const MockKey &key, const char *name) {
if (mock_map.count(key) != 0) {
num_trial += 1;
utils::Error("[%d]@@@Hit Mock Error:%s", rank, name);
fprintf(stderr, "[%d]@@@Hit Mock Error:%s\n", rank, name);
exit(-2);
}
}
};