This repository provides a step-by-step guide to set up a conda environment for neural modeling.
First, download Miniconda:
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.shChange the permissions to make the installer executable:
chmod +x Miniconda3-latest-Linux-x86_64.shRun the installer:
bash Miniconda3-latest-Linux-x86_64.shAfter installation, close any open terminals. If using SSH, close the window. If local, restart your computer.
Create a new conda environment named NME (Neural Modeling Environment) with Python 3.12:
conda create -n NME python=3.12 -yActivate the environment:
conda activate NMEBefore installing packages, ensure GCC and MPI modules are loaded. This varies by HPC system.
For Hellbender:
module load openmpi/4.1.5_gcc_12.3.0For Expanse:
module purge
module load slurm
module load cpu/0.17.3b
module load gcc/10.2.0/npcyll4
module load openmpi/4.1.1For lab server:
module load mpich-x86_64-nopyFor other systems, check available modules:
module availLook for modules with names like openmpi, intel_mpi or mpich.
Install the required packages using pip:
I recommand running this command first and then the next pip command. I think this is the most stable neuron version.
pip install neuron==8.2.4 pip install jupyter pandas==2.3.3 mpi4py bmtk bmtool scipy seaborn- BMTK: The pip install may not always be the most up-to-date. For the latest version, install from GitHub.
- BMTOOL: If you plan to make changes to bmtool, install from the repository.
This setup provides a good starting point with all necessary packages for neural modeling.