Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neurokernel core configuration mechanism #53

Open
lebedov opened this issue Nov 11, 2015 · 0 comments
Open

Neurokernel core configuration mechanism #53

lebedov opened this issue Nov 11, 2015 · 0 comments

Comments

@lebedov
Copy link
Member

lebedov commented Nov 11, 2015

The core Neurokernel infrastructure should provide a means of explicitly configuring certain options not related to specific LPU models. These might include

  • location of OpenMPI installation
  • MCA options to use when launching an emulation
  • global logging setup

A simple interface to such options could resemble that of mpi4py or matplotlib, e.g.,

import neurokernel.rc
neurokernel.rc['openmpi_home'] = '/opt/openmpi-1.10.1'
neurokernel.rc['mca_opts'] = ['--mca', 'btl_cuda_if_include', 'eth0']
neurokernel.rc['log_opts'] = {'screen': True, 'file_name': 'nk.log'}

import neurokernel.mpi_relaunch
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant