com.norbl.cbp.ppe.ompi
Class ParamsOmpi

java.lang.Object
  extended by com.norbl.cbp.ppe.ompi.ParamsOmpi

public class ParamsOmpi
extends java.lang.Object

Parameters used to configure an open-mpi network.


Nested Class Summary
static class ParamsOmpi.ParamName
           
 
Field Summary
 boolean disableHyperthreading
           
 com.amazonaws.services.ec2.model.InstanceType instanceType
           
 java.lang.String networkName
           
 java.io.File rsaKeyPairFile
          This keypair file must contain the PRIVATE key that matches the public key specified by keyName (which is registered with aws).
 int slotsPerHost
          The number of 'process slots' to be created on each host, most commonly one per core.
 
Constructor Summary
ParamsOmpi(ParamHt ht, ParamsEc2 paramsEc2)
           
 
Method Summary
 void checkForAccessInstanceParams()
           
 void setParamVal(java.lang.String key, java.lang.String val)
           
 void setParamVals()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

networkName

public java.lang.String networkName

rsaKeyPairFile

public java.io.File rsaKeyPairFile
This keypair file must contain the PRIVATE key that matches the public key specified by keyName (which is registered with aws).


slotsPerHost

public int slotsPerHost
The number of 'process slots' to be created on each host, most commonly one per core.


disableHyperthreading

public boolean disableHyperthreading

instanceType

public com.amazonaws.services.ec2.model.InstanceType instanceType
Constructor Detail

ParamsOmpi

public ParamsOmpi(ParamHt ht,
                  ParamsEc2 paramsEc2)
           throws InaccessibleFileException,
                  ImproperParamException,
                  MissingParamsException
Throws:
InaccessibleFileException
ImproperParamException
MissingParamsException
Method Detail

setParamVals

public void setParamVals()
                  throws InaccessibleFileException,
                         ImproperParamException
Throws:
InaccessibleFileException
ImproperParamException

setParamVal

public void setParamVal(java.lang.String key,
                        java.lang.String val)
                 throws InaccessibleFileException,
                        ImproperParamException
Throws:
InaccessibleFileException
ImproperParamException

checkForAccessInstanceParams

public void checkForAccessInstanceParams()
                                  throws MissingParamsException
Throws:
MissingParamsException