Compressed symmetric graphs for the simulation of super carbon nanotubes

In this paper, we present an extremely space-saving, yet parallelizable, data structure called Compressed Symmetric Graphs (CSGs) for the simulation of Super Carbon Nanotubes (SCNTs) modeled by a graph algebra. CSGs can drastically reduce the amount of data to represent a SCNT by exploiting inherent symmetry and hierarchy to dynamically reconstruct symmetric parts from base elements as needed. This new graph structure is integrated in an existing matrix-free solving approach for simulating the mechanical behavior of SCNTs. We extend previous investigations on structural symmetry in SCNTs to now simultaneously exploit translational and rotational symmetry, thus multiplying their effects. As a result, we can reach compression ratios of over 100 for some SCNT configurations. The memory demand is further reduced by replacing the m-tuples identifying the nodes in the graph model via a structure-related compression by a serial index that can be unfolded on demand. Finally, we use still available RAM as a software-controlled cache for storing intermediate values, reducing recomputations. In this fashion, our code can represent very large configurations, but makes optimal use of the hardware at hand. We investigate for order 0 and 1 SCNTs the impact of the data access-time in CSGs on the total runtime and a suitable OpenMP parallelization strategy for minimizing this influence. We demonstrate that as a result, the new CSGs approach significantly reduces the runtime, by a factor between 1.3 and 12. While the graph algebra underlying this work was designed for the representation of SCNTs, we believe that the algorithmic principles with respect to the exploitation of structure and efficient software design are relevant to other graph settings, where hierarchy and replication play an important role in the graph design. In these cases, CSGs can help to overcome the per node/core memory-capacity limitation of current HPC systems.

[1]  Rajeev Motwani,et al.  Clique Partitions, Graph Compression and Speeding-Up Algorithms , 1995, J. Comput. Syst. Sci..

[2]  Sebastiano Vigna,et al.  The webgraph framework I: compression techniques , 2004, WWW '04.

[3]  S. L. Mayo,et al.  DREIDING: A generic force field for molecular simulations , 1990 .

[4]  Christian Schröppel,et al.  Meshing highly regular structures: the case of super carbon nanotubes of arbitrary order , 2015 .

[5]  John H. Reif,et al.  Efficient lossless compression of trees and graphs , 1996, Proceedings of Data Compression Conference - DCC '96.

[6]  Bin Liu,et al.  The atomic-scale finite element method , 2004 .

[7]  Chinya V. Ravishankar,et al.  Block-Oriented Compression Techniques for Large Statistical Databases , 1997, IEEE Trans. Knowl. Data Eng..

[8]  Rajeev Motwani,et al.  Clique partitions, graph compression and speeding-up algorithms , 1991, STOC '91.

[9]  Silvio Lattanzi,et al.  On compressing social networks , 2009, KDD.

[10]  Abraham Lempel,et al.  A universal algorithm for sequential data compression , 1977, IEEE Trans. Inf. Theory.

[11]  Christian H. Bischof,et al.  An Improved Algorithm for Simulating the Mechanical Behavior of Super Carbon Nanotubes , 2015, 2015 IEEE 18th International Conference on Computational Science and Engineering.

[12]  Nisheeth Shrivastava,et al.  Graph summarization with bounded error , 2008, SIGMOD Conference.

[13]  Ado Jorio,et al.  Atomistic simulations of the mechanical properties of ‘super’ carbon nanotubes , 2007, 0707.3961.