- Clone the repo (
git clone https://github.com/Neurosim-lab/EEE_network.git
) - Compile the mod files (
cd EEE_network/mod ; nrnivmodl
) - Symlink the mod dir (
cd ../eee_net ; ln -s "../mod/x86_64" x86_64
)
Single line command:
git clone https://github.com/Neurosim-lab/EEE_network.git ; cd EEE_network/mod ; nrnivmodl ; cd ../eee_net ; ln -s "../mod/x86_64" x86_64
- Change to the eee_net directory (
cd EEE_network/eee_net
) - Modify the file cfg.py
- Update sim label
- Set desired parameter values
- Run the simulation (two options):
- Execute
runsim #processes
(e.g../runsim 4
) - Execute
mpiexec -np #processes nrniv -python -mpi init.py
(e.g.mpiexec -np 4 nrniv -python -mpi init.py
)
- Execute
- Change to the eee_net directory (
cd EEE_network/eee_net
) - Open the file batch.py
- Ensure
runType = mpi_bulletin
- Update the
batchLabel
- Ensure
- Run the batch of sims (two options):
- Execute
runbatch #processes
(e.g../runbatch 4
) - Execute
mpiexec -np #processes nrniv -python -mpi batch.py
(e.g.mpiexec -np 4 nrniv -python -mpi batch.py
)
- Execute
- Change to the eee_net directory (
cd EEE_network/eee_net
) - Modify the file cfg.py
- Update sim label
- Set desired parameter values
- Modify the file runsim_comet
- Update names for job, output file, error file
- Set desired HPC settings
- Execute
sbatch runsim_comet
- Change to the eee_net directory (
cd EEE_network/eee_net
) - Open batch.py
- Ensure
runType = hpc_slurm
- Update the
batchLabel
- Set desired HPC settings in
runCfg
- Ensure
- Execute
python batch.py