Thrift module: applicationDeploymentModel
Constants
Constant | Type | Value |
DEFAULT_ID | string | "DO_NOT_SET_AT_CLIENTS" |
Enumerations
Enumeration: ApplicationParallelismType
Enumeration of application parallelism supported by Airavata
SERIAL:
Single processor applications without any parallelization.
MPI:
Messaging Passing Interface.
OPENMP:
Shared Memory Implementtaion.
OPENMP_MPI:
Hybrid Applications.
SERIAL | 0 |
|
MPI | 1 |
|
OPENMP | 2 |
|
OPENMP_MPI | 3 |
|
Data structures
Struct: SetEnvPaths
Key | Field | Type | Description | Requiredness | Default value |
1 | name | string | | required | |
2 | value | string | | required | |
Key Value pairs to be used to set environments
name:
Name of the environment variable such as PATH, LD_LIBRARY_PATH, NETCDF_HOME.
value:
Value of the environment variable to set
Struct: ApplicationModule
Key | Field | Type | Description | Requiredness | Default value |
1 | appModuleId | string | | required | "DO_NOT_SET_AT_CLIENTS" |
2 | appModuleName | string | | required | |
3 | appModuleVersion | string | | optional | |
4 | appModuleDescription | string | | optional | |
Application Module Information. A module has to be registered before registering a deployment.
appModuleId: Airavata Internal Unique Job ID. This is set by the registry.
appModuleName:
Name of the application module.
appModuleVersion:
Version of the application.
appModuleDescription:
Descriprion of the Module
Struct: ApplicationDeploymentDescription
Key | Field | Type | Description | Requiredness | Default value |
1 | appDeploymentId | string | | required | "DO_NOT_SET_AT_CLIENTS" |
2 | appModuleId | string | | required | |
3 | computeHostId | string | | required | |
4 | executablePath | string | | required | |
5 | parallelism | ApplicationParallelismType | | required | UNKNOWN |
6 | appDeploymentDescription | string | | optional | |
7 | moduleLoadCmds | list<string > | | optional | |
8 | libPrependPaths | list<SetEnvPaths > | | optional | |
9 | libAppendPaths | list<SetEnvPaths > | | optional | |
10 | setEnvironment | list<SetEnvPaths > | | optional | |
11 | preJobCommands | list<string > | | optional | |
12 | postJobCommands | list<string > | | optional | |
Application Deployment Description
appDeploymentId: Airavata Internal Unique Job ID. This is set by the registry.
appModuleName:
Application Module Name. This has to be precise describing the binary.
computeHostId:
This ID maps application deployment to a particular resource previously described within Airavata.
Example: Stampede is first registered and refered when registering WRF.
moduleLoadCmd:
Command string to load modules. This will be placed in the job submisison
Ex: module load amber
libPrependPaths:
prepend to a path variable the value
libAppendPaths:
append to a path variable the value
setEnvironment:
assigns to the environment variable "NAME" the value