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

Use ConfigParser to set parameters for ensemble #28

Closed
kaizu opened this issue Dec 15, 2017 · 1 comment
Closed

Use ConfigParser to set parameters for ensemble #28

kaizu opened this issue Dec 15, 2017 · 1 comment
Assignees
Labels
enhancement New feature or request refactoring

Comments

@kaizu
Copy link
Member

kaizu commented Dec 15, 2017

A list for options in ensemble functions is too long (especially for sge). Use an INI-like file to set default options.

https://github.com/ecell/ecell4/blob/master/python/lib/ecell4/extra/ensemble.py#L55
https://docs.python.org/3.6/library/configparser.html#module-configparser

@kaizu kaizu transferred this issue from ecell/ecell4_base Feb 15, 2019
@kaizu kaizu added enhancement New feature or request refactoring labels Feb 15, 2019
@kaizu kaizu self-assigned this Jun 28, 2019
@kaizu kaizu mentioned this issue Apr 29, 2020
@kaizu
Copy link
Member Author

kaizu commented May 10, 2020

pyyaml is in use.

run_ensemble checks if pyyaml and a config file are existing or not first, and load parameters.

ensemble:
    method: multiprocessing
    multiprocessing:
        nproc: 10

@kaizu kaizu closed this as completed May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactoring
Projects
None yet
Development

No branches or pull requests

1 participant