Package org.apache.airavata.schemas.gfac

Examples of org.apache.airavata.schemas.gfac.JobTypeType


 
  @Test
  public void testMPIJSDL() throws Exception{
   
    JobTypeType jobType = JobTypeType.Factory.newInstance();
    jobType.set(JobTypeType.MPI);
    ApplicationContext appContext = getApplicationContext();
    appContext.setApplicationDeploymentDescription(getApplicationDesc(jobType, true));
    jobExecutionContext.setApplicationContext(appContext);
   
    JobDefinitionDocument jobDefDoc = JSDLGenerator.buildJSDLInstance(jobExecutionContext);
View Full Code Here


  }

 
  @Test
  public void submitJob() throws Exception {
    JobTypeType jobType = JobTypeType.Factory.newInstance();
    jobType.set(JobTypeType.MPI);
    ApplicationContext appContext = getApplicationContext();
    appContext.setApplicationDeploymentDescription(getApplicationDesc(jobType));
    jobExecutionContext.setApplicationContext(appContext);
    GFacAPI gFacAPI = new GFacAPI();
    gFacAPI.submitJob(jobExecutionContext);
View Full Code Here

TOP

Related Classes of org.apache.airavata.schemas.gfac.JobTypeType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.