File: README.md

package info (click to toggle)
spglib 2.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 14,180 kB
  • sloc: ansic: 125,066; python: 7,717; cpp: 2,197; f90: 2,143; ruby: 792; makefile: 22; sh: 18
file content (12 lines) | stat: -rw-r--r-- 365 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
# How to make ruby wrapper

Ruby wrapper is created. With this, `symPoscar.rb` can read VASP
`POSCAR` type files and analyze their symmetries.

```
% ruby extconf.rb --with-getspg-include=../build/include --with-getspg-lib=../build/lib
% make
% export LD_LIBRARY_PATH=../build/lib
% export RUBYLIB=.
% ruby symPoscar.rb ../python/test/data/hexagonal/POSCAR-168
```