You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 37
Next »
The intention of these tutorials is to provide a quick glimpse into the Airavata middleware by exercising its features through the hosted version of Airavata Reference Gateway written in PHP hence called PGA (PHP Reference Gateway for Airavata). The user can follow the tutorials in order to experience general capabilities of the middleware.
Airavata Reference Gateway
Airavata PHP Gateway is set of user interfaces to demonstrate the core functionalities provided by Airavata. This tutorial provides step-by-step information for obtaining a complete science gateway experience for science and scholarly communities using Airavata as a middleware platform. Here we would also discuss main features and services provided for gateway communities via Airavata.
At the completion of the quick-start-tutorials you would know:
Gateway user registration and account verification steps
How to create and modify projects
How to create, execute and monitor experiments.
How to share experiments and projects
How to set up own cluster accounts for job submissions.
How to seek assistance, submit issues and provide user feedback.
For more details on Airavata please visit Airavata site
Test/Demo Environment Details
- PHP Reference Gateway link;
https://testdrive.airavata.org - Download application input files from;
Generic sample application inputs
Sample application inputs for Gaussian and Gamess
Tutorial I - Gateway User Account
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 need to at least have (a) one lower case letter (b) one upper case letter (c) one number (d) One special character from !@#$%
- Enter all the mandatory fields indicated by a star; *.
- Account creation page
- Link:https://testdrive.airavata.org/create
- Account activation;
- The user will receive an email upon creating the account in the provided email address to confirm the account creation. The user needs to use the link in the email and provide the gateway username and password.
- When the user account is first created it is not active; the user cannot submit jobs to resources. Gateway admin has to activate the user account after validating each user request for a gateway account.
- If the account confirmation fails, please contact you gateway admin through the Contact us.
- Gateway user will receive an email notifying change of privileges in the gateway when the account is active.
- If already logged in, the gateway user needs to log out and log-in again.
Login to Account
- Once the account is created successfully; log in to the gateway using the created account.
- Gateway login screen link
- https://testdrive.airavata.org/login
![](/confluence/download/attachments/56067326/Screen%20Shot%202016-04-01%20at%2012.59.35%20PM.png?version=1&modificationDate=1459530001000&api=v2)
Image II - Login
Password Recovery
- Gateway user can recover the forgotten password using '(Forgot Password? Click here)' link in the login page.
- The user needs to provide the username then will receive an URL to add the new password.
Tutorial II - Create & Search Projects
Create Project
- A Project is simply a grouping for experiments. Every user will have a 'Default Project' which exists when the user logs into the gateway for the first time.
- Projects are also used to share with other gateway users. e.g.: Sharing a project with another user will give him access to all his experiments in the project.
- To create Projects navigate to ‘Project --> Create’ from the main menu. Enter Project Name (Mandatory) & Project Description (Optional) and Save.
- Project creation Screen
![](/confluence/download/attachments/56067326/Screen%20Shot%202017-05-10%20at%204.33.52%20PM.png?version=1&modificationDate=1494448452000&api=v2)
Image II - Create Project - Upon successful creation, the user is directed to Project Summary page.
Browse Projects
- Navigation 'Project --> Browse' from the main menu.
- Search keys are;
- Project Name
- Project Description
- Browse Project page;
![](/confluence/download/attachments/56067326/Screen%20Shot%202016-04-01%20at%201.33.09%20PM.png?version=1&modificationDate=1459532006000&api=v2)
Image III - Browse Project - The user can search for projects by using (*) as a wild character. The * can be used when searching either option; Project name or description.
- When projects are listed by clicking ‘View’ at the end of the row user can navigate to ‘Project Summary’ page.
- In 'Project Summary' all experiments created under the project will be listed.
![](/confluence/download/attachments/56067326/Screen%20Shot%202017-05-10%20at%204.45.45%20PM.png?version=1&modificationDate=1494449171000&api=v2)
Image IV - Project Summary
User can click on the experiment ‘Name’ and navigate to ‘Experiment Summary’ page.
![](/confluence/download/attachments/56067326/Screen%20Shot%202017-05-10%20at%204.48.07%20PM.png?version=1&modificationDate=1494449308000&api=v2)
Image V - Experiment Summary
Tutorial III - Create & Launch Experiment
Create Experiment
- Navigation to experiment creation page Main Menu --> Experiment --> Create Experiment
- Create Experiment Page - Experiment Information
![](/confluence/download/attachments/56067326/Screen%20Shot%202016-04-01%20at%201.45.55%20PM.png?version=1&modificationDate=1459532774000&api=v2)
Image VI - Create Experiment
- First enter/select given fields;
- Experiment Name (Mandatory)
- Experiment Description (Optional)
- Project (Select from the available LOV. Latest will be on top; auto selected)
- Application (Select from the available LOV)
and click ‘Continue’. At this point, the 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 or uploading required input 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)
- Notifications: Add email address if required to receive job starting and completing notifications from compute resource itself.
NOTE: For some compute resources, above default values will not be correct. User needs to change the node count in such cases.
- Create Experiment - Application Configuration Part
![](/confluence/download/attachments/56067326/Screen%20Shot%202016-04-01%20at%201.44.28%20PM.png?version=1&modificationDate=1459532702000&api=v2)
Image VII - 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; from summary page can monitor experiment status changes.
- Experiment Summary Page
![](/confluence/download/attachments/56067326/Screen%20Shot%202016-04-05%20at%2012.13.47%20PM.png?version=1&modificationDate=1459872869000&api=v2)
Image VIII - Experiment Summary
Launch Experiment
- The experiment can be launched using 'Create Experiment' screen. Click 'Save & Launch' button to directly launch the experiment.
- If the experiment was just CREATED for a later launch, the user can launch from 'Experiment Summary' Page. For experiments that are 'launchable' 'Launch' button will be enabled in summary page.
NOTE: Experiments only in CREATED state can be launched.
Tutorial IV - Browse Experiments
- User can search for experiment created by him/her through
- Experiments → Browse
OR - Browse Projects → View Project → View Experiment (by clicking on the status of the experiment) - Please refer Search Projects in "Tutorial II" above.
In Browe Experiments search keys are;
Experiment Name
Experiment Description
Application
Creation Time - User can provide 'From Date' and 'To Date'
![](/confluence/download/attachments/56067326/Screen%20Shot%202016-04-05%20at%2011.44.53%20AM.png?version=2&modificationDate=1459871427000&api=v2)
Image IX - Browse Experiments
All the experiments of the user will be listed; latest on top. The user can also search using provided keys with partial values, complete values, (*) wildcard. Above search can be narrowed by combining with experiment status as well.
By clicking on the 'Status' user will be navigated to ‘Experiment Summary’ screen of each experiment.
Experiment summary can be used to;
Launch experiment - Explained in above Tutorial III
Cancel experiment
Clone experiment
Edit experiment
View experiment data files (Inputs, outputs, archived files)
Tutorial V - Modify, Cancel & Clone Experiments
Modify Experiment
- Modify experiment by clicking on the edit icon (pencil) next to experiment name (In Browse Experiment, Project Summary) OR by clicking on ‘Edit’ button in Experiment Summary Page.
- User can modify all available fields except experiment status, project, application & experiment ID of experiments only in CREATED state.
![](/confluence/download/attachments/56067326/Screen%20Shot%202016-04-05%20at%2012.00.22%20PM.png?version=1&modificationDate=1459872166000&api=v2)
![](/confluence/download/attachments/56067326/Screen%20Shot%202016-04-05%20at%2012.00.34%20PM.png?version=1&modificationDate=1459872189000&api=v2)
Image X - Edit Experiment
Cancel Experiment
- To cancel use 'Cancel' button in 'Experiment Summary’ screen.
- Experiment with statuses LAUNCHED and EXECUTING can only be canceled.
- When canceled, immediately the Experiment status will change to CANCELING.
- If the job is already processed in the remote resource (already COMPLETED in the resource) the job will have COMPLETE state and 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.
- Once canceled, experiments are only available for cloning, cannot resume.
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
![](https://lh5.googleusercontent.com/x1bwNwcK9HP99mMZ0AgEjO-9xPyfHoKxckckAz2K9ahbapdveuV2pVpSwcPwPGC7SCK4_H2nBaX8vo0SqlPcFPfcATE6Xi9tHETIk8-rUp3M_UE5x8bJS1x-C7aEhCJxgQ)
Image XIII - Got Feedback?