suny-downstate-medical-center / netpyne

A Python package to facilitate the development, parallel simulation, optimization and analysis of multiscale biological neuronal networks in NEURON.
http://www.netpyne.org
MIT License
144 stars 135 forks source link

Issue with batch and mpi4py #682

Closed josemendez-villanueva closed 2 years ago

josemendez-villanueva commented 2 years ago

I am running the batch.py file from netpyne/examples/optunaOptim. When I try testing this file out it does not generate the data json files needed for a job to complete. No error messages show up but the jobs completed always displays 'Completed: 0' and defaults to maxFitness. This issue seems to be due to mpi4py being installed. Once mpi4py is uninstalled the data files are generated but then only one job runs at a time.

This file has been ran with python 3.7/3.8 on both Ubuntu/MacOS.

vvbragin commented 2 years ago

Fixed in scope of https://github.com/suny-downstate-medical-center/netpyne/commit/be0815bddd7ced2c65c60b307878ccb5ff8dcb54