-
Notifications
You must be signed in to change notification settings - Fork 38
Home
Hai Nguyen edited this page Feb 18, 2015
·
28 revisions
Welcome to the pytraj wiki!
wget https://github.com/pytraj/pytraj/archive/0.1.beta.8.tar.gz
tar -xf 0.1.beta.8.tar.gz
cd pytraj-0.1.beta.8
python setup.py install
- Done
- Simple test: python -c 'import pytraj as pt; pt.run_tests()'
Note: Possible failure: can not find netcdf.h file. Make sure to install netcdeflib or specify its include path
- install libcpptraj
- git clone https://github.com/mojyt/cpptraj
- cd cpptraj
- export CPPTRAJHOME=
pwd
- ./configure -shared -nomathlib gnu
- (if you're using Amber, you can do
./configure -shared -nomathlib -amberlib gnu
- make libcpptraj
- the install pytraj
- pip install pytraj
Not yet
python -c 'import pytraj as pt; pt.run_tests()'
if you install via github, you will get full test runs
cd tests
- python ./RunAllAndFindFailure.py
Possible errors:
- "ImportError: libcpptraj.so: cannot open shared object file: No such file or directory"
you need to add libcpptraj.so to LD_LIBRARY_PATH