com.norbl.cbp.ppe.ompi
Class OmpiConfigurer
java.lang.Object
com.norbl.cbp.ppe.ompi.OmpiConfigurer
public class OmpiConfigurer
- extends java.lang.Object
Supercedes OmpiConfig
. This version avoid ssh exec as much
as possible.
Config operations:
- Create RSA key pair on master node
- Install public RSA key on slave nodes
- Create the ompi-hostfile and install on master node
- Disable hyperthreading on all nodes
- Configure rsu (RStudio Server user) on the master node iff it supports
Rstudop server
- Install the RSA keypair in ~rsu/.ssh
- Copy ompi-hostfile to ~rsu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OmpiConfigurer
public OmpiConfigurer(Ec2Wrangler ec2w,
NetworkSpec spec,
ParamsEc2 paramsEc2)
isPending
public boolean isPending()
isConfigured
public boolean isConfigured()
- Just tests the state of this object; this method does not
access the network instances.
- Returns:
getName
public java.lang.String getName()
getStateDescription
public java.lang.String getStateDescription()
config
public boolean config(java.lang.String networkID)
setNetworkID
public void setNetworkID(java.lang.String networkID)
connectToNodes
public boolean connectToNodes()
getRsuCommands
public java.lang.String getRsuCommands()