C library for finding and handling crystal symmetries
C Python Fortran Ruby CMake Shell Other
Clone or download

README.md

spglib

Version Badge Downloads Badge PyPI Build Status

C library for finding and handling crystal symmetries

How to compile with autotools

% aclocal
% autoheader
% libtoolize # or glibtoolize with macport etc
% touch INSTALL NEWS README AUTHORS
% automake -acf
% autoconf
% ./configure

How to compile with cmake

% mkdir _build
% cd _build
% cmake ..
% make
% make install (probably installed under /usr/local)

Or to install under /some/where

% mkdir _build
% cd _build
% cmake -DCMAKE_INSTALL_PREFIX="" ..
% make
% make DESTDIR=/some/where install