| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| C_code_Py27 | 2016-06-20 | ||
| C_code_Py34 | 2016-06-20 | ||
| change_endianness | 2016-06-20 | ||
| change_mat_format | 2016-06-20 | ||
| force_field | 2016-06-20 | ||
| vci.py | 2016-06-20 | 40.2 kB | |
| vci_cyth.pyx | 2016-06-20 | 106.4 kB | |
| vci_vpt2.py | 2016-06-20 | 30.2 kB | |
| useful.py | 2016-06-20 | 21.8 kB | |
| state.py | 2016-06-20 | 16.1 kB | |
| read_input.py | 2016-06-20 | 13.3 kB | |
| setup_cyth.py | 2016-06-20 | 611 Bytes | |
| pyvci_vpt2.py | 2016-06-20 | 4.4 kB | |
| pes_derivs.py | 2016-06-20 | 3.7 kB | |
| make_clean | 2016-06-20 | 125 Bytes | |
| normal_mode.py | 2016-06-20 | 17.5 kB | |
| constants.py | 2016-06-20 | 2.0 kB | |
| Totals: 17 Items | 256.3 kB | 0 | |
#=================================================================================#
# #
# PyVCI+VPT2 - Python VCI screened and corrected by VPT2 #
# Written by Marat Sibaev and Deborah Crittenden #
# University of Canterbury, Department of Chemistry, 2016 #
# #
#=================================================================================#
#=================================================================================#
# Contents Summary #
#=================================================================================#
This package contains:
-> code: python and cython source code, with subdirectories;
-> force_field: force field parser code and force field data file/s
-> change_endianness: cython code to alter format of binary data files
-> change_mat_format: cython code to convert binary data files from old
format in PyVCI to the new one
-> C_code_Py27: cython code converted to C using Cython and Python2.7
-> C_code_Py34: cython code converted to C using Cython and Python3.4
-> docs: LaTeX source and compiled manual, with pdf copies of tutorial input files
-> tutes: examples of how to use PyVCI, each in a separate subdirectory;
-> tute_1: performing a VCI calculation with normal mode derivatives from file
-> tute_2: loading derivatives from a force field module, and then
- performing a serial VCI calculation
- performing a parallel VCI calculation
-> tute_3: performing a VCI+VPT2 calculation
#=================================================================================#
# Installation Instructions #
#=================================================================================#
Change into the code directory:
cd code
Remove any old compiled module files (*.so), if existing:
./make_clean
Compile new module files (requires Cython + C compiler):
python setup_cyth.py build_ext --inplace
Add this directory to your path (example for Mac OSX given)
echo 'export PATH="$PATH:'$(pwd)'"' >> ~/.bash_profile
Restart your terminal/X-windows session
#=================================================================================#
# Usage Instructions #
#=================================================================================#
Change into a separate directory containing your/an example input file.
Invoke PyVCI_VPT2 using the following syntax:
pyvci_vpt2.py input_file output_file
#=================================================================================#
# Running Tests #
#=================================================================================#
Mandatory tests, from this directory:
cd tutes/tute_1
pyvci.py example_1.in example_1.out
cd ../tute_2
pyvci.py example_2.in example_2.out
cd ../tute_3
pyvci.py example_3.in example_3.out