2. Installation Guide

Welcome to the CURP installation guide. This document will help you set up CURP on Mac, Linux, and WSL (Windows Subsystem for Linux) systems.

2.1. System Requirements

The CURP program has been tested on the following systems:

2.1.1. Linux

  • OS Version: CentOS 6.x, Ubuntu 18.x

2.1.2. Mac

  • OS Version: Mavericks or Yosemite with XCode 6.1

CURP runs on Python 3.6 and requires Numpy to be installed. The system should be working under OpenMPI.

2.2. Installation

Note

CURP version 1.x requires Numpy version 1.11.2 ~ 1.16.x to build the package before installation. Please install Numpy before installation.

2.2.1. Pip Installation

Run pip install Curp or any flavor of pip (pip install --user curp, pipenv install curp, …).

If the installation of Curp fails due to the absence of netCDF4, OpenMPI, or other dependencies, please install them manually. You can set up the environment using conda, which is the recommended approach.

2.2.3. Verification

To verify your installation, run the following command:

curp -h

This should display the help message of CURP, confirming that the installation was successful.

2.2.4. Latest Development Version

To install the latest development version, run:

pip install git+https://github.com/yamatolab/current-calculations-for-proteins.git@develop

2.2.5. Git Installation

If you want to develop CURP or simply access its source, you can install it through its GitHub repository:

git clone https://github.com/yamatolab/current-calculations-for-proteins.git

In the created directory, simply run pip install --user . or python setup.py install --user. If you are an admin and want every user of the machine to be able to use CURP, use pip install . instead.

2.3. Running CURP

To run CURP, simply enter curp compute <input_file>. A few commands are also available from the terminal to analyze CURP results: curp cal-tc, curp sum-tc, curp conv-trj and curp graph-een.

The users set the CURP parameters in <input_file> (default: run.cfg).

Test calculations of CURP can be run by cloning the GitHub repository, then running runall.sh in the test folder.

2.4. Troubleshooting

If you encounter any issues during installation, consider the following:

  • Ensure all dependencies are installed correctly, especially compilers and libraries.

  • Consult the CURP GitHub repository for any known issues or updates.