Skip to content

Zhaoli2042/gRASPA_pybind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gRASPA pybind: pybind extension for gRASPA (test)

  • enjoy (?) gRASPA and GPU backend while on python and Jupyter Notebook!

Advantages

  • Access: Get access to gRASPA's internal variables
  • Control: See what happens during an MC move
  • Create: Create your own MC moves with python code and packaged MC move parts

How to use

  1. Install pybind11 via pip install pybind11
  2. download gRASPA_pybind and Zhaoli2042/gRASPA_fork or snurr-group/gRASPA
  3. copy the files in gRASPA's src_clean to gRASPA_pybind's pybind_src
  4. Compile using ./BIND_NVC_COMPILE
    • If successful, you can see a shared library file (gRASPA.so) being generated
  5. Copy gRASPA.so file to the JUPYTER_NOTEBOOKS folder
  6. Run jupyter notebook and open one of the example notebooks!

📝 NOTE

About

pybind extension for gRASPA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors