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

Set default value for nthreads in montecarlo schema to 0 #705

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@
# invoking any other functionality from distutils since it can potentially
# modify distutils' behavior.
cmdclassd = register_commands(PACKAGENAME, VERSION, RELEASE)
add_command_option('install', 'with-openmp', 'compile TARDIS without OpenMP',
add_command_option('install', 'with-openmp', 'compile TARDIS with OpenMP',
is_bool=True)
add_command_option('build', 'with-openmp', 'compile TARDIS without OpenMP',
add_command_option('build', 'with-openmp', 'compile TARDIS with OpenMP',
is_bool=True)
add_command_option('develop', 'with-openmp', 'compile TARDIS without OpenMP',
add_command_option('develop', 'with-openmp', 'compile TARDIS with OpenMP',
is_bool=True)
add_command_option('install', 'with-vpacket-logging', 'compile TARDIS with virtual packet logging',
is_bool=True)
Expand Down Expand Up @@ -140,4 +140,3 @@
entry_points=entry_points,
**package_info
)

2 changes: 1 addition & 1 deletion tardis/io/schemas/montecarlo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ properties:
nthreads:
type: number
multipleOf: 1.0
default: 1
default: 0
description: The number of OpenMP threads.
seed:
type: number
Expand Down