Package org.ggf.schemas.jsdl.x2005.x11.jsdlPosix

Examples of org.ggf.schemas.jsdl.x2005.x11.jsdlPosix.FileNameType


        .addNewArgument().setStringValue(stringPrm);

  }
 
  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


    else
      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

          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

        .addNewArgument().setStringValue(stringPrm);

  }
 
  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

    else
      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

  public static final String THREADSPERHOST = "ThreadsPerHost";

 
 
  public static EnvironmentType addEnvVariable(JobDefinitionType def,String name, String value) {
    POSIXApplicationType posixApp = getOrCreatePOSIXApplication(def);
    EnvironmentType newEnv = posixApp.addNewEnvironment();
    newEnv.setName(name);
    newEnv.setStringValue(value);
    return newEnv;
  }
View Full Code Here

  public static final String THREADSPERHOST = "ThreadsPerHost";

 
 
  public static EnvironmentType addEnvVariable(JobDefinitionType def,String name, String value) {
    POSIXApplicationType posixApp = getOrCreatePOSIXApplication(def);
    EnvironmentType newEnv = posixApp.addNewEnvironment();
    newEnv.setName(name);
    newEnv.setStringValue(value);
    return newEnv;
  }
View Full Code Here

  public static final String THREADSPERHOST = "ThreadsPerHost";

 
 
  public static EnvironmentType addEnvVariable(JobDefinitionType def,String name, String value) {
    POSIXApplicationType posixApp = getOrCreatePOSIXApplication(def);
    EnvironmentType newEnv = posixApp.addNewEnvironment();
    newEnv.setName(name);
    newEnv.setStringValue(value);
    return newEnv;
  }
View Full Code Here

          JSDLUtils.getSPMDApplication(value).setThreadsPerProcess(tpp);
         
        }
       
        if(userName != null) {
          UserNameType userNameType = UserNameType.Factory.newInstance();
          userNameType.setStringValue(userName);
          JSDLUtils.getSPMDApplication(value).setUserName(userNameType);
        }
      }
      else {
        JSDLUtils.getOrCreatePOSIXApplication(value).setExecutable(fNameType);
        if(userName != null) {
          UserNameType userNameType = UserNameType.Factory.newInstance();
          userNameType.setStringValue(userName);
          JSDLUtils.getOrCreatePOSIXApplication(value).setUserName(userNameType);
        }
      }
    }
   
View Full Code Here

          JSDLUtils.getSPMDApplication(value).setThreadsPerProcess(tpp);
         
        }
       
        if(userName != null) {
          UserNameType userNameType = UserNameType.Factory.newInstance();
          userNameType.setStringValue(userName);
          JSDLUtils.getSPMDApplication(value).setUserName(userNameType);
        }
      }
      else {
        JSDLUtils.getOrCreatePOSIXApplication(value).setExecutable(fNameType);
        if(userName != null) {
          UserNameType userNameType = UserNameType.Factory.newInstance();
          userNameType.setStringValue(userName);
          JSDLUtils.getOrCreatePOSIXApplication(value).setUserName(userNameType);
        }
      }
    }
   
View Full Code Here

TOP

Related Classes of org.ggf.schemas.jsdl.x2005.x11.jsdlPosix.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.