|
CCAFFEINE
0.8.8
|
#include <CmdLineClient.h>

Public Member Functions | |
| int | parse () |
| void | mapIOToFile (const char *outName, const char *errName) |
| void | mapEverythingToTTY () |
| void | mapEverythingToFile (const char *outName, const char *errName) |
| void | remapIO () |
| void | parseArgsX (int argc, char **argv) |
| void | parseArgs (int argc, char **argv) |
| void | dumpMachines () |
| int | main (int argc, char **argv, StaticFactory *sf=0) |
| void | setName (char *name) |
| void | setRank (int rank) |
| void | setSize (int size) |
| void | setComm (int64_t fComm) |
| void | setInitRunType (runtype_ runType) |
| void | setUseMPI (bool b) |
| bool | getUseMPI () |
Private Attributes | |
| CmdLineBuilderController2 * | controller |
| char * | procFile |
| MachWrapper * | mWrap |
| int | myProcIndex |
| char * | myProcName |
| runtype | runType |
| int | rank |
| int | size |
| int | port |
| bool | debug |
| bool | stp_initialized |
| bool | useMPI |
| int64_t | fortranMPIComm |
| bool | hasComm |
Client for handling remote gui or vice versa.
| void CmdLineClient::mapIOToFile | ( | const char * | outName, |
| const char * | errName | ||
| ) |
| void CmdLineClient::mapEverythingToTTY | ( | ) |
Map the IO to the controlling tty.
| void CmdLineClient::mapEverythingToFile | ( | const char * | outName, |
| const char * | errName | ||
| ) |
| void CmdLineClient::remapIO | ( | ) |
Remap the IO to files named: procOut<rank> and procErr<rank>
| void CmdLineClient::parseArgsX | ( | int | argc, |
| char ** | argv | ||
| ) |
Command line arg parser using Stovepipe.
| void CmdLineClient::parseArgs | ( | int | argc, |
| char ** | argv | ||
| ) |
Command line arg parser.
| void CmdLineClient::dumpMachines | ( | ) |
Writes out the current machine jcpn(Vector)*.
| void CmdLineClient::setName | ( | char * | name | ) |
machine name
| void CmdLineClient::setRank | ( | int | rank | ) |
parallel process enumerated id
| void CmdLineClient::setSize | ( | int | size | ) |
number of parallel processes
| void CmdLineClient::setComm | ( | int64_t | fComm | ) |
fortran comm, if mpi. needs to be called before main().
char* CmdLineClient::procFile [private] |
File to read that contain the participating processors
MachWrapper* CmdLineClient::mWrap [private] |
holds a jcpn(Vector) of dc/distributed/ProcessorInfo* 's
int CmdLineClient::myProcIndex [private] |
The index of this processor into the machines vector.
char* CmdLineClient::myProcName [private] |
Name or IP number of this processor.
runtype CmdLineClient::runType [private] |
What kind of hookup we will be using.
int CmdLineClient::rank [private] |
My proc rank: <= 1 is a single proc run.
int CmdLineClient::size [private] |
Number of participating processors: <= 1 is a single processor run.
int CmdLineClient::port [private] |
Port number to connect to the server from which we will receive parse-able commands.
bool CmdLineClient::debug [private] |
True to print out sometimes helpful debugging information.
bool CmdLineClient::stp_initialized [private] |
Have we initialized Stovepipe to the command line arguments yet?
int64_t CmdLineClient::fortranMPIComm [private] |
If using mpi, this is the communicator the framework has. set as driver in CmdLineClientMain normally. Note it is in fortran cast up to 8 byte format, which requires conversions before use if MPI_Fint is not int64_t.
1.7.6.1