Commit Graph

18 Commits

Author SHA1 Message Date
b53b993c68 recover in-place usage by defaulting to version 0 and changing it back after installation 2021-02-09 02:12:37 -05:00
7826b58f73 add check to lammps python module to check consistent versions between module and shared library 2021-02-09 00:38:17 -05:00
cf3ae8cdd2 switch setuptools back to distutils 2020-12-22 09:59:50 -07:00
e7fa0a6bac Changes to MLIAP python
- update lammps python package to use setuptools
- refactor MLIAP classes into lammps python package

lammps.mliap package
- change TorchWrapper to use dtype and device as arguments
- turn activation of mliappy into functions (was a class)
- add a check to see if python interpreter is compatible
  with python lib calls internal to lammps

mliap_model_python_couple.pyx:
- load models ending in '.pt' or '.pth' with pytorch rather than pickle
2020-12-21 11:51:10 -07:00
aca2eefce5 Transform LAMMPS Python module into package
- Moves lammps.py into its own package
- Imports entire module in __init__.py
- Changes both how legacy and CMake build systems install
- Added traditional setup.py for Python-only installation

Note: the CMake install target runs setup.py build and install
in a way that produces files in CMAKE_BINARY_DIR/python instead
of python/build. This is to maintain out-of-source compilation
support.
2020-12-15 15:11:21 -05:00
77e323d28c prefix option in install.py not needed 2019-03-26 21:55:07 -04:00
0edb82eb5e update format 2019-03-25 17:14:58 -04:00
b0a741fc58 add support for --prefix to python module installer 2019-03-25 16:51:35 -04:00
0f030acc59 refactoring python module installer script to be (more) platform neutral and compatible with conventional make and CMake builds 2019-03-22 11:59:15 -04:00
c3a95c782b git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15039 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-05-12 13:53:40 +00:00
a70623ee43 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14592 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-02-15 15:30:15 +00:00
79e142b2ca git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13511 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2015-07-02 19:09:11 +00:00
d91cbdf923 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10063 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-06-10 15:01:13 +00:00
2e7bd3367f git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8672 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-08-15 19:49:01 +00:00
4486372868 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8670 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-08-15 14:34:23 +00:00
7487754a4d git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8659 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-08-14 20:20:39 +00:00
7f5e8cb896 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8656 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-08-14 20:13:20 +00:00
1512b14f98 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8649 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-08-14 15:40:43 +00:00