COMPACK: a program for identifying crystal structure similarity using distances

A method is presented for comparing crystal structures to identify similarity in molecular packing environments. The relative position and orientation of molecules is captured using interatomic distances, which provide a representation of structure that avoids the use of space-group and cell information. The method can be used to determine whether two crystal structures are the same to within specified tolerances and can also provide a measure of similarity for structures that do not match exactly, but have structural features in common. Example applications are presented that include the identification of an experimentally observed crystal structure from a list of predicted structures and the process of clustering a list of predicted structures to remove duplicates. Examples are also presented to demonstrate partial matching. Such searches were performed to analyse the results of the third blind test for crystal structure prediction, to identify the frequency of occurrence of a characteristic layer and a characteristic hydrogen-bonded chain.