WPettersson / regina

Regina - a topological software suite
Other
1 stars 0 forks source link

non-MPI tricensus tweaks #5

Open WPettersson opened 8 years ago

WPettersson commented 8 years ago

Outputs more useful information to stdout

Instead of just facepairing.str(), tricensus will now output a comma-separated list for each face pairing graph analysed. The values printed are:

index, graph, running time, count

defined as follows.

Note: this feature is only functional if graphs are passed via stdin.

tricensus has two new parameters, -x and -y. When appropriately assigned integers, tricensus will only analyse a graph of index i if i ≅ x mod y. This makes it trivial to parallelise tricensus on clusters without having to pre-plan the graph splits. Note that this definitely won't guarantee equal running time, but any jobs that terminate early will return resources to the cluster queue.

Allow %d in output file name

If the output file name given to tricensus contains %d it will be replaced with the index of the given graph (so a new file is created for each graph). This can be used to replicate the output style used by tricensus-mpi.