Hi Eroma, Please find my answers below.
On Mon, Apr 14, 2014 at 10:04 AM, Eroma Abeysinghe < [email protected]> wrote: > Hi All, > > I was preparing test cases for Airavata API and few > questions/clarifications; > 1. Do we have a max walltime and CPU count? > Not sure what did you mean by do we have. Yes we have those two properties and its used in most of the unit tests and createLaunchExperiment sample. You can have a look at the code. Currently its mostly a static configuration where gateway administrator set when he/she save the application context but these properties can be configured for each request (job) rather using the static configuration. > 2. We don't define ppn for resource node at creation of experiments. Is it > set internally for each experiment? > Yes but we set this in application Descriptor currently and its been read in gfac, but we can set in Experiment. To clarify this I have answered your last question and please refer that. > 3. When we clone an experiment what is the status that the new cloned > experiment get saved? Is it CREATED ? > We don't save specific state, we simply clone the experiment with a new experiment ID, whatever the status get copied. > 4. Do we have a defined mapping between experiment status and task status? > Currently they are independent statuses. if you can have a look experimentModel.thrift you can see that. but I think we can have some constraint and keep a mapping to avoid conflicting states between experiments, tasks and Jobs. Currently we don't have any rules defined between these statuses. > > > -- > Thank You, > Best Regards, > Eroma > -- System Analyst Programmer PTI Lab Indiana University
