Clone the source (If you have not taken a clone prior) code from github (git clone https://github.com/apache/airavata). If you have already cloned go to next step.
In your machine go to local folder where Airavata source code is cloned and then do a git pull pullto make sure you have the latest trunk.
After the above is completed build the source code by executing following maven command; mvn clean install (Useful Hint: Use mvn clean install -Dmaven.test.skip=true to avoid tests and is recommended for first timers.)
Go to folder where Airavata server distribution zip or tar files are residing. cd modules/distribution/server/target
Unzip either the tar or zip file of Airavata server distribution using unzip apache-airavata-server-0.14-SNAPSHOT-bin.zip OR tar -xvf apache-airavata-server-0.14-SNAPSHOT-bin.tar.gz
Go to extracted folder cd apache-airavata-server-0.14-SNAPSHOT
In folder apache-airavata-server-0.14-SNAPSHOT navigate to the bin and view the file airavata-server.properties
Update ‘pubilsh.rabbitmq’ property to true in bin/airavata-server.properties file. File would then have; publish.rabbitmq=true
In bin start the Airavata server; (Useful Hint:This may require JAVA_HOME to be defined. Some configurations such as in bin/zoo.cfg and bin/airavata-server.properties may have to be adjusted if some ports are already in use. Ports need to be open as well.) sh airavata-server.sh
Go to apache-airavata-server-0.14-SNAPSHOT/samples/ directory and register sample scripts and local host. by running sh registerSample.sh
After starting the AIravata server and registering the sample applications, start XBAYA GUI. Navigate to modules/distribution/xbaya-gui/ and build xbaya mvn clean install
Navigate to folder ‘target’ and then extract the xbaya using unzip apache-airavata-xbaya-gui-0.14-SNAPSHOT-bin.zip
Go to bin folder in unzipped apache-airavata-xbaya-gui-0.14-SNAPSHOT and navigate to the the bin folder and start xbaya GUI sh xbaya-gui.sh
...
In XBAYA GUI first Register the applications by setting up the Airavata registry. Navigation : Registry → Setup Airavata Registry (Image I) and Click OK on the pop up window (Image II).
Image I
Image II
All available sample applications will get listed in the left hand upper corner Component List window.
Image III
Click on ‘New’ icon to create a new Workflow (or navigate XBaya → New Workflow). Then the ‘Workflow Properties’ window will pop-up. Enter Name and Description and click OK.
Image IV
Select a preferable application and drag and drop in to the workspace in middle. In this case lets select “Add’ application.
Drag and drop ‘Add; in to the workspace in middle.
Double click on the green triangles blue trianglesin left hand side which will expand the input ports for value configuration for the ‘Add’ application.
Image V
Click on ‘Config’ button on each parameter and input port and enter Information required. Image VI shows configuration for input value ‘x’. Image VI. Also double click on the green triangle on the right hand side to expand the output port.
After configuring the ‘x’ & ‘y’ values click on RUN icon at the top tool bar. Enter experiment name on the pop up window and select the Host. Click ‘Run’ button. Image VII
After experiment is completed view results from the ‘tmp’ folder in your local machine using the experiment ID.
Hint: When the experiment is completed the Results box will be highlighted green.
To obtain the exp ID of your experiment double click on the COMPLETED status at the bottom of your xbaya GUI. Copy the Exp ID from the Message box. Image VIII
After navigating to the temp folder in your machine navigate to the folder by the Exp ID s the name. In the folder view Add.stdout (<Application Name>.stdout) file for the result.