Package org.ogf.schemas.jsdl.posix

Examples of org.ogf.schemas.jsdl.posix.FileNameType


        if (appDepType.getApplicationEnvironmentArray().length > 0) {
            createApplicationEnvironment(value, appDepType.getApplicationEnvironmentArray(), appDepType);
        }

        if (appDepType.getExecutableLocation() != null) {
            FileNameType fNameType = FileNameType.Factory.newInstance();
            fNameType.setStringValue(appDepType.getExecutableLocation());
            if (isParallelJob(appDepType)) {
                JSDLUtils.getOrCreateSPMDApplication(value).setExecutable(fNameType);
                JSDLUtils.getSPMDApplication(value).setSPMDVariation(getSPMDVariation(appDepType));

                if (getValueFromMap(appDepType, JSDLUtils.NUMBEROFPROCESSES) != null) {
View Full Code Here


    }

    public static void setApplicationStdErr(JobDefinitionType value, HpcApplicationDeploymentType appDepType,
            String stderr) {
        FileNameType fName = FileNameType.Factory.newInstance();
        fName.setStringValue(stderr);
        if (isParallelJob(appDepType))
            JSDLUtils.getOrCreateSPMDApplication(value).setError(fName);
        else
            JSDLUtils.getOrCreatePOSIXApplication(value).setError(fName);
    }
View Full Code Here

            JSDLUtils.getOrCreatePOSIXApplication(value).setError(fName);
    }

    public static void setApplicationStdOut(JobDefinitionType value, HpcApplicationDeploymentType appDepType,
            String stderr) {
        FileNameType fName = FileNameType.Factory.newInstance();
        fName.setStringValue(stderr);
        if (isParallelJob(appDepType))
            JSDLUtils.getOrCreateSPMDApplication(value).setOutput(fName);
        else
            JSDLUtils.getOrCreatePOSIXApplication(value).setOutput(fName);
    }
View Full Code Here

TOP

Related Classes of org.ogf.schemas.jsdl.posix.FileNameType

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.