We recommend using Anaconda to manage your Python environment. Please follow the steps below to install Anaconda and set up the myecat environment:
Download and install Anaconda:
- Visit the Anaconda website and download the installer for your operating system.
- Follow the installation guide to complete the Anaconda installation.
Note: If you have already installed Anaconda on your system, you can ignore the instructions above.
# For Windows
conda create --name myecat --file requirements/conda-requirements-win-64.txt
# For Linux
conda create --name myecat --file requirements/conda-requirements-linux-64.txt
# Activate Environment
conda activate myecat
# Install additional dependencies
conda install scikit-learn-intelex
# For Windows
pip install -r requirements/pip-requirements-win-64.txt
# For Linux
pip install -r requirements/pip-requirements-linux-64.txtNote: Use the appropriate conda-requirements and pip-requirements files based on your operating system:
- For Windows:
conda-requirements-win-64.txtandpip-requirements-win-64.txt - For Linux:
conda-requirements-linux-64.txtandpip-requirements-linux-64.txt
Explanation: By default, conda will download packages from the defaults channel. If a package is not found in the defaults channel, conda will attempt to download it from the conda-forge channel. Note that the default Anaconda installation may not include the conda-forge channel. You can add it using the following command:
conda config --add channels conda-forge- Install eqtools and csi in myecat
#For Linux
chmod +x install.sh
./install.sh
# For Windows
.\install.bat# If you have not installed build in your environment.
pip install build
# Build and install; Only support install in python 3.7 and above with this way
python -m build
# The exact name of the .whl file will depend on your package version and Python version
pip install dist/okada4py-12.0.2-py3-none-any.whl- Download oneapi package
- Install oneapi
chmod +x l_mpi_oneapi_p_2021.11.0.49494_offline.sh
sudo ./l_mpi_oneapi_p_2021.11.0.49494_offline.sh- Config environment
# If there are no oneAPI-related environment loading parameters in `~/.bashrc`, please add them manually.
# Intel MPI ifort
source ~/intel/oneapi/setvars.sh intel64The installation has been tested on Windows 11 and Ubuntu 20.04.6. Support for other platforms is not guaranteed.