Skip to content

A repo with instructions on how to setup a environment with *most* of the packages needed for modeling

Notifications You must be signed in to change notification settings

cyneuro/Modeling-Environment-Setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

Modeling-Environment-Setup

This is a list of commands that should be ran in order to set up a conda environment

First download miniconda

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh 

Then change the permissions in order to run the installer

chmod +x Miniconda3-latest-Linux-x86_64.sh 

Then run the installer

bash Miniconda3-latest-Linux-x86_64.sh 

Then close out of any terminal you have open. If you are doing this over SSH then close the window. If local then restart computer. Then we will download the evironment file. If this command fails you can download the environmnet.yml file that is in this repo. It is the same file! Just make sure the file is in your working directory when running the next command.

curl -OL https://raw.githubusercontent.com/cyneuro/Modeling-Environment-Setup/refs/heads/main/environment.yml

Now we will create the conda environment

conda env create -f environment.yml

Now you will be able to activate the anaconda environment using the command (NME stands for Neural Modeling Environment)

conda activate NME

Some packages do not install using Conda, so we will use pip to finish the install process.

This line is only needed if you plan on doing runs in parallel. You should have a version of mpi loaded before install for example mpich or openmpi.

pip install mpi4py-mpich

Neuron will soon be switching over to version 9.0 and some files won't work correctly in this version. It may be best to use the 8.2.4 version.

pip install neuron==8.2.4

The pip install of BMTK is not always the most up to date. If you think you need the most up to date version you can install from their GitHub

pip install bmtk

There is a pip install for BMTool but the install from GitHub works better for now.

git clone https://github.com/cyneuro/bmtool.git
cd bmtool
python setup.py develop

This should be a good starting point and have every package someone needs to get started with neural modeling.

About

A repo with instructions on how to setup a environment with *most* of the packages needed for modeling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published