#include <atollrun.h>
Collaboration diagram for Atollrun:

Public Member Functions | |
| void | Init (int *pArgc, char **pArgv[]) |
| void | setEstablishConnectionsOnInit (bool pAutoSetup=true) |
| void | setPerformConnectionTestOnInit (bool pSelfTest=true) |
| void | setAcquirePortOnSingle (bool pAcquireOnSingle=false) |
| int | getCommRank () |
| int | getCommSize () |
| port_id | getPort (int pRank) |
| atoll_handle | getHandle (int pRank) |
| ~Atollrun () | |
Static Public Member Functions | |
| Atollrun & | getReference () |
Definition at line 79 of file atollrun.h.
|
|
Destructor: This destructor closes all open connections and the ATOLL port. It's similar to MPI_Finish(), but implicit |
|
|
Return my rank. It's similar to MPI_Comm_Rank() of MPI
|
|
|
Return the size of the current process group. It's similar to MPI_Comm_Size() of MPI
|
|
|
Return the ATOLL handle for communicating to a certain Rank ID
|
|
|
Return the ATOLL port of a certain Rank ID
|
|
|
Return the reference to the singleton instance of Atollrun
|
|
||||||||||||
|
Initializes the network by communicating with 'atollrun.py'. It's similar to MPI_Init() of MPI. NOTE: It's essential that the user program did not write anything to the console before this function !!!
|
|
|
This function sets a flag for the Init() method. When set to true, on initialization the method opens a ATOLL port even when the current process is the only one and having nobody to communicate to. This flag only makes sense when setting it before calling Init()
Definition at line 128 of file atollrun.h. |
|
|
This function sets a flag for the Init() method. When set to true, on initialization Init() establishes connections to all peers and performs a little communication test. If set to false, on initialization Init() will only open an ATOLL port, but nothing more. Settings this flag to false implies setPerformConnectionTestOnInit(false). This flag only makes sense when setting it before calling Init()
Definition at line 102 of file atollrun.h. References setPerformConnectionTestOnInit(). Referenced by setPerformConnectionTestOnInit(). |
Here is the call graph for this function:

|
|
This functions sets a flag for the Init() method. When set to true, on initialization Init() performs a little connections test after establishing the connections. If set to false, on initialization Init() will not test the communication between the ports. Setting this flag to true implies setEstablishConnectionsOnInit(true). This flag only makes sense when setting it before calling Init()
Definition at line 116 of file atollrun.h. References setEstablishConnectionsOnInit(). Referenced by setEstablishConnectionsOnInit(). |
Here is the call graph for this function:

1.3.5