Trees | Indices | Help |
|
---|
|
A class for writing and running Cluster clu files.
The class can fabricate jobname.clu files, and optionally run them. The class allows running Cluster or Xcluster jobs.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
This method writes a jobname.clu command file for the passed 'jobname.mae', or 'jobname.dst' file; returns the name fo the clu file written. The keyword values are taken from the self object, and need to be defined prior to calling this method. Returns a string for the 'jobname.clu' file written. The first argument for either Arms: or Nrms: is checked for the value 'heavy' or 'all'. If the first argument in these arrays does not match those values then the array is assumed to contain numerical values and is formatted. If the provided input is a distance file, recognized by a .dst extention, then the job will be run in dfile mode. No additional options are used in dfile mode, and exiting self values for mmsym, nant, arms, and trms are set to false/empty values. |
This method uses jobcontrol.launch_job (or system call if import failed) to invoke cluster for the passed jobname.clu file. Returns True. It requires a string containing the 'jobname.clu' file name. |
This method uses jobcontrol.launch_job (or a system call if import failed) to invoke Xcluster for the passed jobname.clu file. Returns True. It requires a string containing the 'jobname.clu' file name. |
This method writes and runs a cluster job for the passed mae or dst file name. returns True A combination of writeCluFile and runCluFile. |
This method writes and runs a Xcluster job for the passed mae or dst file name, returns True A combination of writeCluFile and runXCluFile. |
This method writes a distance file with the provided name, for the passed values. Returns the name of the distance file written, which is cluster.dst by default. This method calculates the 'distances' between the passed values. The distances are calculated as the absolute value of i - j, truncated as 5.5f, right justified as 16 characters, and printed five per line. For example, if passed a list with nine values, the distance file would look like: 9 d12 d13 d14 d15 d16 d17 d18 d19 d23 d24 d25 d26 d27 d28 d29 d34 d35 d36 d37 d38 d39 d45 d46 d47 d48 d49 d56 d57 d58 d59 d67 d68 d69 d78 d79 d89 where d12 is the formatted result of abs(values[0] - values[1]) |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Oct 26 00:59:48 2016 | http://epydoc.sourceforge.net |