Quick-Start Tutorials
The intention of the this tutorial is to get a quick glimpse into the Airavat middleware by exercising its features through the hosted PHP version of Airavata Reference Gateway ; written in PHP hence called PGA. The user can follow the carefully constructed user guide in order to receive general capabilities of the middleware.
...
Airavata Reference Gateway
Airavata PHP Reference gateway is the UI developed by the Airavata team for demonstration purposes and also for interested science communities to work withGateway is set of User Interfaces to demonstrate the core functionalities provided by Airavata. This user manual provides step-by-step information on obtaining a complete science gateway experience for science and scholarly communities using Airavata as a middleware platform. In the user manual we would also discuss main features and services provided for gateway communities via Airavata.
User manual will facilitate;:
How to create and modify projects
How to register users in PHP reference gateway.
How to create, execute and monitor , etc... experiments.
How to submit issues, user feedback and user request for new applications.
...
- PHP Reference Gateway link;
https://testdrive.airavata.org - Download application input files from;
https://cwiki.apache.org/confluence/display/AIRAVATA/XSEDE14+Gateway+Tutorial+Application+Input+Files+and+Parameters
Tutorial I - Accounts on Test Drive Gateway
...
Create Account
- A new user has to create an account using ‘Create account’ link on top right-hand corner of the gateway top banner.
- To create an account;
- Please enter User information and submit.
- Important;
- Username cannot have spaces.
- Username & password must be longer than 5 characters.
- Password is case sensitive.
- Enter all the mandatory fields indicated by a star; *.
- Account creation page
- Link:https://testdrive.airavata.org/create
- Create User Account Page
![Screen Shot 2014-08-19 at 10.10.18 AM.png](https://lh6.googleusercontent.com/wA03w0VRviDeU1qbE9h2RNPEmCdm0CLwpCb6f-9npB6HNr6awBFc1Jech_rgs37oW7zhVG5-ocgMCk2p4EtCsMsIxK1VMEBtGH4x5VnsT1VMu33O2Z5THT0KiOK36RhmWw)
Image I - Create Account
- Account activation;
- The user will receive an email upon creating the account in the given email box to confirm the creation is real. User needs to click the link and login to the gateway using the username and password.
- Initial user accounts will not have access to use the gateway; submit jobs to resources. Gateway admin has to provide necessary access to each user after validating the user account.
- Gateway admin will notify access grant via email.
- User might need to logout from the gateway to be able to access job submitting permissions.
Login to Account
- Once the account is created successfully; login to the gateway using the created account.
- Gateway login screen link
- https://testdrive.airavata.org/login
- OR
- use the 'Log In' link given on the 'Create New Account' page after account retain is successful.
- Login Page;
...
- Gateway user can recover the forgotten password using '(Forgot Password? Click here)' link below the login page.
- User will be navigated to a page where the username needs to be provided.
- An email will be sent wit ha link to enter new password.
Tutorial II - Create & Search Projects
Create Project
- 'Projects' within Airavata is simply to group a set of experiments. Every user will have a 'Default Project' which is auto created when user logs into the gateway for the first time.
- To create Projects navigate to ‘Project --> Create’ from the main menu. Enter Project Name (Mandatory) & Project Description (Optional) and Save.
- Project creation Screen
![Screen Shot 2014-09-08 at 12.14.31 PM.png](https://lh4.googleusercontent.com/rw7P-dUcpngn4O-maXqPy0hWE1nxCtS-T0e6-1VpFc939Bd6FRylBiYWLGndBE7TgRbpOtrKOk2qMblQrOHNZTI-qZ0va2qfrLWcatqq5OXeqr2WI_rEl20eU0yUwKOmew)
Image II - Create Project
- Prior to submission, fields can be cleared using Clear button.
- User will be navigated to Project Summary page upon successful creation of the project.
Search Projects
- Screen navigation 'Project --> Browse' from the main menu.
- Search keys are;
- Project Name
- Project Description
- Search Project Page;
![Screen Shot 2015-07-27 at 5.50.02 AM.png](/confluence/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
Image III - Search Project
- After selecting the search by key, user has to give a value to search using the selected key. Click on Search.
- All the Projects as per entered key value pair will be listed.
- User can search for all projects by using (*) as a wild character. The * can be used when searching either options; Project name or description.
- When projects are listed by clicking ‘View’ at the end of the row user can navigate to ‘Project Summary’ page.
...
Image VI - Experiment Summary
Tutorial III - Create & Launch Experiment
Create Experiment
- To create an experiment click on ‘Create Experiment’ from the main menu. Navigation Experiment --> Create Experiment
- Create Experiment Page - Experiment Information
![Screen Shot 2014-09-08 at 1.59.12 PM.png](https://lh6.googleusercontent.com/yWAq1LuRpeaMmk-eyVzHY9pzr8nv8MM1Qyl01wWhH_5FYw_8E68plkPvpCpMG95HAkPyh3pD2PFP7KRg79NGWaaibNnWrfs8Dq8B2dVk_-L0wm0hSjDnLyDEMJ5pRov8Tg)
Image VII - Create Experiment
- Initially user needs to enter/select given fields in order to continue.
- Experiment Name (Mandatory)
- Experiment Description (Optional)
- Project (Select from the available LOV)
- Application (Select from the available LOV)
and click on ‘Continue’ button. At this point, user can clear any entered fields by clicking ‘Reset Values’ before continuing. - Then continue entering Application configuration information.
- Experiment application input (Mandatory) - Application input can be in the form of entering data manually or uploading a single or multiple files.
NOTE: Uploading file validity is not checked by the gateway. User has the responsibility of uploading correct files. - Compute Resource (select from the available LOV. If the application is existing in a single resource, it will be the default value)
- Queue (a default value will be taken if not changed by the user)
- Node Count (If not entered default value will be taken as the input)
- Total Core Count (If not entered default value will be taken as the input)
- Wall Time Limit (If not entered default value will be taken as the input)
- Total Physical Memory (If not entered default value 0 will be taken as the input)
- NOTE:
- For values d, e and f if user does not enter, default value will be taken as the input. For some compute resources, this default value will not be correct. User needs to change the node count in such cases.
- For d and e user has to enter a value greater than or equivalent to 1.
- For f user has to enter a value greater than or equivalent to 0.
- Create Experiment - Application Configuration Part
![Screen Shot 2016-01-11 at 3.34.14 PM.png](/confluence/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
Image VIII - Create Experiment Contd..
- While entering application configurations user can start over from the beginning using ‘Start Over’ button.
- Once saved or saved and launched user will be directed to ‘Experiment Summary’ page; can refresh the page and monitor experiment status changes.
- Experiment Summary Page
![Screen Shot 2015-07-27 at 5.52.07 AM.png](/confluence/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
Image IX - Experiment Summary
Launch Experiment
To launch an experiment can use the same 'Create Experiment' screen. Apart from saving the experiment user can Save & Launch at the same time using button ‘Save and Launch’.
User can also create and save the experiment to launch later. To launch later user has to navigate to 'Experiment Summary' Page.
If the experiment is not supposed to launch e.g.: a COMPLETED, LAUNCHED experiment, then the launch button will be disabled.
...
Tutorial V - Modify, Cancel & Clone Experiments
Modify Experiment
Modify experiment by clicking on the edit icon (pencil) next to experiment name OR by clicking on ‘Edit’ button in Experiment Summary Page.
User can modify all available fields except experiment status, application & experiment ID.
User can update experiments with statuses;
CREATED
Edit Experiment Page
...
Image XI - Edit Experiment
Cancel Experiment
- Experiments can be canceled by navigating to experiment’s 'Experiment Summary’ screen.
- Experiment statuses which allow cancellations;
- LAUNCHED
- EXECUTING
- SCHEDULED
- Click on ‘Cancel’ button and immediately the Experiment status will change to CANCELING.
- If the job is not already processing in the remote resource (already COMPLETED in the resource) the job will proceed to COMPLETE and upon completing the experiment status will change to CANCELLED. Since the user requested a cancellation generated output will not be provided back to the gateway.
- If the job was successfully CANCELLED upon changing the job state to CANCELLED experiment status will also change to CANCELED.
- CANCELED experiments are only available for cloning in the PGA.
Clone Experiment
- Experiments can be cloned irrespective of the experiment status by clicking ‘Clone’ in ‘Experiment Summary’ page.
- When clicks ‘Clone’ from experiment summary user will be navigated to ‘Edit Experiment’ page of the new experiment. The new experiment will have exact same information as the earlier existing experiment.
- The new experiment will have a new experiment ID and the status will always be CREATED.
New experiment name = Clone of + Old experiment name - User can change existing information (except the Application) in ‘Edit Experiment’ page and save or save & launch.
Tutorial VI - User Assistance
Report Issue
Gateway user can report issues faced within the gateway through this page.
Page navigation: Help → Report Issue
Raise a Bug Page
![Screen Shot 2014-09-09 at 3.23.32 PM.png](https://lh5.googleusercontent.com/uINp2mUhUNLCrRStI7CkPWR3X9kWZwNx34BEnAdYW2R-2kxrGlKncOsJYfsZzfEEUvvlg9IwqehSiuGZbYuV4gclou4SZ8KX4NmX8jAkM4qmnwCv5JYikEKsgY2xCAPlSw)
Image XII - Raise a Bug
Request Feature
Gateway allows users to provide feedback as well as request for new applications via Request Feature Page.
Page Navigation; Help → Request Feature
Got Feedback? Page
...