Package org.apache.airavata.schemas.gfac

Examples of org.apache.airavata.schemas.gfac.HpcApplicationDeploymentType.addNewQueue()


                }
                try {
                    String queueName = currentContextHeader.getWorkflowSchedulingContext().getApplicationSchedulingContextArray()[0].getQueueName();
                    if (queueName != null) {
                        if(appDepType.getQueue() == null){
                            QueueType queueType = appDepType.addNewQueue();
                            queueType.setQueueName(queueName);
                        }else{
                          appDepType.getQueue().setQueueName(queueName);
                        }
                    }
View Full Code Here


        name.setStringValue(appName);
        app.setExecutableLocation(exeuctableLocation);
        app.setScratchWorkingDirectory(scratchWorkingDirectory);
        ProjectAccountType projectAccountType = ((HpcApplicationDeploymentType) appDesc.getType()).addNewProjectAccount();
        projectAccountType.setProjectAccountNumber(projAccNumber);
        QueueType queueType = app.addNewQueue();
        queueType.setQueueName(queueName);
        app.setMaxMemory(Integer.parseInt(maxMemory));
        return appDesc;
    }
View Full Code Here

                app.setMinMemory(applicationDescriptor.getMinMemory());
                app.setMaxWallTime(applicationDescriptor.getMaxWallTime());
                app.setNodeCount(applicationDescriptor.getNodeCount());
                app.setProcessorsPerNode(applicationDescriptor.getProcessorsPerNode());

                QueueType queueType = app.addNewQueue();
                if (applicationDescriptor.getQueueName() != null){
                    queueType.setQueueName(applicationDescriptor.getQueueName());
                }
                app.setQueue(queueType);
View Full Code Here

    name.setStringValue("EchoLocal");
    app.setApplicationName(name);
    ProjectAccountType projectAccountType = app.addNewProjectAccount();
    projectAccountType.setProjectAccountNumber("TG-AST110064");

    QueueType queueType = app.addNewQueue();
    queueType.setQueueName("development");

    app.setCpuCount(1);
    // TODO: also handle parallel jobs
    if((jobType.enumValue() == JobTypeType.SERIAL) || (jobType.enumValue() == JobTypeType.SINGLE)) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.