We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verifies that the Fence is synchronizing
#include "pmix.h" double max_fence_time() { double fence_time = 0; int i; /* Measure the typical fence execution time */ for(i = 0; i < 100; i++) { ts1 = timestamp(); PMIx_Fence(without_data_collection); ts2 = timestamp(); fence_time = max(fence_time, ts2 - ts1); } return fence_time; } int main() { double timeout, fence_time; PMIx_Init(); fence_time = max_fence_time(); T = Ratio * fence_time; // Ratio might be 100, should be selected for the particular system PMIx_Fence(without_data_collection); if( rank == 0){ sleep(T); } ts1 = timestamp(); PMIx_Fence(without_data_collection); ts2 = timestamp(); if( rank == 0 ){ assert((t2 - t1) ~ fence_time); } else { assert((t2 - t1) ~ T); } PMIx_Finalize(); }
TBD
The text was updated successfully, but these errors were encountered:
👍 This looks good to me.
Sorry, something went wrong.
See openpmix/openpmix#2085.
cpshereda
No branches or pull requests
Test description
Verifies that the Fence is synchronizing
Test sketch
Execution details
Client-side expectations:
Server-side expectations:
Reference implementation:
TBD
The text was updated successfully, but these errors were encountered: