| 1 | [[PageOutline]] |
| 2 | |
| 3 | = GIMI Init Script in Exper Mgmt Envir (EME) = |
| 4 | |
| 5 | |
| 6 | == 1) Goals == |
| 7 | The GIMI init script in EME aims to interactively initialize the experiment environment for each user-running experiment. |
| 8 | |
| 9 | == 2) Tasks for Init Script == |
| 10 | * Get experiment name from user, and derive experiment-id |
| 11 | * Retrieve project_id from omni or CH |
| 12 | * Get list of slice_ids from omni or CH, select slice_id for this experiment |
| 13 | * Get sliver_manifests_rspecs from AMs |
| 14 | * Parse sliver_manifest_rspec to get slice_node_names (fully qualified) |
| 15 | * Select default GIMI Portal, or override |
| 16 | * Setup GSAS (iRODS) structure |
| 17 | * derive defaults for user_irods_home_directory and |
| 18 | * target(exper)-directory, or override |
| 19 | * derive and load proj_exper_step_descriptors |
| 20 | * load template OMF scripts |
| 21 | * get user_irods_target(exper)_iticket, assigned to selcted GIMI Portal agent |
| 22 | * Push sliver_manifest_rspecs and exp_descriptors to iRODS |
| 23 | * Holding user_credentials, config GIMI Portal exper info: |
| 24 | * user_identity (from [2]) |
| 25 | * experiment_id, |
| 26 | * project_id, and slice_id |
| 27 | * slice_node_names |
| 28 | * sliver_manifest_rspecs |
| 29 | * user_irods_home_directory |
| 30 | * user_irods_target(exper)_directory |
| 31 | * user_irods_target(exper)_iticket |
| 32 | |
| 33 | == 3) GIMI Init installation == |
| 34 | This session describes the installation procedure |
| 35 | The script can be obtained from github: [https://github.com/geni-gimi/GIMI/tree/master/gimiInit] |
| 36 | |
| 37 | == 4) How to run == |
| 38 | This session describes the running and consequences of gimi_init |
| 39 | |
| 40 | == 5) Experiment descriptor and iRODS == |
| 41 | To be added by Keleigh. |