Commit e2d48e17 authored by Theo Steininger's avatar Theo Steininger
Browse files

Bugfix: removed default_comm from nifty/config/nifty_config.py

parent 7be74c1e
...@@ -73,19 +73,13 @@ variable_default_distribution_strategy = keepers.Variable( ...@@ -73,19 +73,13 @@ variable_default_distribution_strategy = keepers.Variable(
if z == 'fftw' else True), if z == 'fftw' else True),
genus='str') genus='str')
variable_default_comm = keepers.Variable(
'default_comm',
['COMM_WORLD'],
lambda z: hasattr(dependency_injector['MPI'], z))
nifty_configuration = keepers.get_Configuration( nifty_configuration = keepers.get_Configuration(
name='NIFTy', name='NIFTy',
variables=[variable_fft_module, variables=[variable_fft_module,
variable_use_healpy, variable_use_healpy,
variable_use_libsharp, variable_use_libsharp,
variable_default_field_dtype, variable_default_field_dtype,
variable_default_distribution_strategy, variable_default_distribution_strategy],
variable_default_comm],
file_name='NIFTy.conf', file_name='NIFTy.conf',
search_pathes=[os.path.expanduser('~') + "/.config/nifty/", search_pathes=[os.path.expanduser('~') + "/.config/nifty/",
os.path.expanduser('~') + "/.config/", os.path.expanduser('~') + "/.config/",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment