-
Notifications
You must be signed in to change notification settings - Fork 0
/
parfu_boss_functions.hh
42 lines (37 loc) · 1.41 KB
/
parfu_boss_functions.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
////////////////////////////////////////////////////////////////////////////////
//
// University of Illinois/NCSA Open Source License
// http://otm.illinois.edu/disclose-protect/illinois-open-source-license
//
// Parfu is copyright (c) 2017-2022,
// by The Trustees of the University of Illinois.
// All rights reserved.
//
// Parfu was developed by:
// The University of Illinois
// The National Center For Supercomputing Applications (NCSA)
// Blue Waters Science and Engineering Applications Support Team (SEAS)
// Craig P Steffen <[email protected]>
// Roland Haas <[email protected]>
//
// https://github.com/ncsa/parfu_archive_tool
// http://www.ncsa.illinois.edu/People/csteffen/parfu/
//
// For full licnse text see the LICENSE file provided with the source
// distribution.
//
////////////////////////////////////////////////////////////////////////////////
#ifndef PARFU_BOSS_FUNCTIONS_HH_
#define PARFU_BOSS_FUNCTIONS_HH_
// these functions assume that it's rank 0 doing the broadcasting,
// or rank 0 doing the individual sending. These functions are from the
// point of view of rank zero sending out orders.
int parfu_send_order_to_rank(int rank,
int tag,
string instruction,
string message);
int parfu_broadcast_order(string instruction,
string message);
int push_out_all_orders(vector <string> *transfer_order_list,
unsigned int total_ranks);
#endif