You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by "Reagan, David Michael" <dm...@iu.edu> on 2014/06/04 22:09:53 UTC

RE: [GSoC] Status Update and Queries

Generally, the process goes like this:


1.       Create and configure an experiment using $airavataclient->createExperiment(), which returns an ID

2.       Run that experiment by using $airavataclient->launchExperiment(expId)

Now, is your real question how to specify your own application to be run in that experiment? It seems that that part will be handled by the upcoming Application Catalog. Right now, in the PHP command-line samples and reference gateway, I can only set the $experiment->applicationId to certain hard-coded applications that Airavata knows about and which are installed on the resources I select. Adding a new application would involve registering it with Airavata somehow, and ensuring that it is installed on the resource you select.

Can someone familiar with the App Catalog chime in here?

Dave


From: Nadeem Anjum [mailto:nadeem.cs.iit@gmail.com]
Sent: Thursday, May 29, 2014 6:15 PM
To: dev@airavata.apache.org
Subject: Re: [GSoC] Status Update and Queries

Thanks David.

Additionally, could you tell me where does one specify the experiment which is to be run?

Thanks,
Nadeem.


On Fri, May 30, 2014 at 3:24 AM, Reagan, David Michael <dm...@iu.edu>> wrote:
Hi Nadeem,

resourceHostId is the machine on which the experiment is run. ComputationalProjectAccount is the shared account on that machine which is used for all experiments initiated from the gateway.

I'm not familiar with GenApp, so I'll defer to someone else for the rest of your questions.

Dave
--
David Reagan
Advanced Visualization Lab
Indiana University
avl.iu.edu<http://avl.iu.edu>

The Advanced Visualization Lab is part of the Research Technologies division of UITS; Research Technologies is a PTI Cyberinfrastructure & Service Center.
________________________________
From: Nadeem Anjum [nadeem.cs.iit@gmail.com<ma...@gmail.com>]
Sent: Wednesday, May 28, 2014 8:06 AM
To: dev@airavata.apache.org<ma...@airavata.apache.org>
Subject: [GSoC] Status Update and Queries
Hi Everyone,

I am currently working on integrating GenApp's PHP interface with Airavata

Starus:
I have explored and played around with GenApp codebase. I have identified the parts of the code that needs to be executed on Airavata. To start with integrating the PHP interface of GenApp, I have explored the PHP Client Samples codebase. I am now figuring out a way to achieve the integration to execute GenApp on Airavata.

Query:
I am trying to run a custom experiment of my choice. I believe this will involve changing the following parameters in createExperiment.php

/* ComputationalResourceScheduling data for Trestles*/
        $cmRST = new ComputationalResourceScheduling();
        $cmRST->resourceHostId = "trestles.sdsc.edu<http://trestles.sdsc.edu>";
        $cmRST->ComputationalProjectAccount = "sds128";
        $cmRST->totalCPUCount = 1;
        $cmRST->nodeCount = 1;
        $cmRST->numberOfThreads = 0;
        $cmRST->queueName = "normal";
        $cmRST->wallTimeLimit = 15;
        $cmRST->jobStartTime = 0;
        $cmRST->totalPhysicalMemory = 0;

I am not really sure of the significance of resourceHostId and ComputationalProjectAccount. Please let me know what these variables are meant for and how could I run a custom experiment of my choice.

Thanks,
Nadeem.