ppe.ompi
Class OmpiConfig
java.lang.Object
ppe.ompi.OmpiConfig
public class OmpiConfig
- extends java.lang.Object
After the ec2 instances are booted, this class is used
to configure Open MPI. Specifically it:
- Creates an rsa keypair on the master
- Copies the rsa keypair to the slaves and appends it to their
.ssh/authorized_keys files.
- Creates a host file and puts it on the master.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OmpiConfig
public OmpiConfig(Ec2Wrangler ec2w,
OmpiSpec spec)
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()
getPort
public int getPort()
config
public boolean config(java.lang.String networkID)