Resourse description for gmManager. More...
#include <gridmd.h>
Public Member Functions | |
| gmResourceDescr (const wxString &host_="", int active_=1) | |
| Constructor. | |
| int | Save (wxXmlNode *parent, const wxString &name="") |
| Saves description as a child of the given XmlNode. | |
| int | Load (wxXmlNode *parent, wxString &name) |
| Loads resource description from the given XmlNode. | |
Public Attributes | |
| int | res_type |
| Resource type: one of gmRESOURCE_TYPES, default is gmRES_PBS. | |
| int | shell_type |
| Shell type: one of gmSHELL_TYPES, default is gmSHELL_UNIX. | |
| int | max_queued |
| Maximal number of simultaneously queued jobs for this resource, default is -1 (no limit). | |
| wxString | login |
| Login name. | |
| wxString | host |
| Remote host name or IP address. | |
| wxString | ssh_path |
| Path to the SSH client. | |
| wxString | scp_path |
| Path to the SCP tool. | |
| wxString | client_cfg |
| SSH client command line options. | |
| wxString | queue |
| Queue name for the remote job management system. | |
| wxString | prefix |
| Shell commands that should be executed before starting each job on the remote resource. | |
| wxString | postfix |
| Shell commands that should be executed after finishing each job on the remote resource. | |
| wxString | progdir |
| Directory where the GridMD application executable is located. | |
| wxString | progname |
| Name of GridMD application executable. | |
| int | active |
| Flag that activates this resource in the resource list (1 by default). | |
Resourse description for gmManager.
For remote cross-platform execution the same application must be compiled for each of the available resources; for submission of remote jobs when the managing GridMD application runs on Windows system an SSH-client for Windows (typically Putty) is required to connect to the remote server.
| int gmResourceDescr::Load | ( | wxXmlNode * | parent, | |
| wxString & | name | |||
| ) |
Loads resource description from the given XmlNode.
| [in] | parent | pointer to the parent node |
| [in] | name | is the name of the resource |
| int gmResourceDescr::Save | ( | wxXmlNode * | parent, | |
| const wxString & | name = "" | |||
| ) |
Saves description as a child of the given XmlNode.
| [out] | parent | pointer to the node for which a child will be created |
| [out] | name | is the name of the resource in the XML document, default is login@host |
1.7.1