Skip to content

Commit

Permalink
changing ensemble_copy_back to default False
Browse files Browse the repository at this point in the history
  • Loading branch information
jlnav committed Apr 29, 2020
1 parent ceb74ea commit 5b91988
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/data_structures/libE_specs.rst
Expand Up @@ -39,7 +39,7 @@ Specifications for libEnsemble::
'ensemble_copy_back' [boolean] :
Whether to copy back directories within ensemble_dir_path back to launch location.
Useful if ensemble_dir placed on node-local storage.
Default: True
Default: False
'sim_input_dir' [string] :
Copy this directory and it's contents for each simulation-specific directory.
If not using calculation directories, contents are copied to the ensemble directory.
Expand Down
2 changes: 1 addition & 1 deletion docs/history_output.rst
Expand Up @@ -123,7 +123,7 @@ options. Each setting will be described in detail here:
directory where libEnsemble was launched where workers copy back their simulation
directories on a run's conclusion or an exception. Especially useful when
``'ensemble_dir_path'`` has been set to some scratch space or another temporary
location. Default: ``True``.
location. Default: ``False``.

* ``'sim_input_dir'``: A path to a directory to copy for simulation
directories. This directory and it's contents are copied to form the base
Expand Down
2 changes: 1 addition & 1 deletion libensemble/libE_manager.py
Expand Up @@ -147,7 +147,7 @@ def __init__(self, hist, libE_specs, alloc_specs,

if any([setting in self.libE_specs for setting in libE_spec_calc_dir_keys]):
self.check_ensemble_dir(libE_specs)
if libE_specs.get('ensemble_copy_back', True):
if libE_specs.get('ensemble_copy_back', False):
Manager.make_copyback_dir(libE_specs)

@staticmethod
Expand Down
2 changes: 1 addition & 1 deletion libensemble/libE_worker.py
Expand Up @@ -249,7 +249,7 @@ def _extract_H_ranges(Work):

def _copy_back(self):
""" Cleanup indication file & copy output to init dir, if specified"""
if os.path.isdir(self.prefix) and self.libE_specs.get('ensemble_copy_back', True):
if os.path.isdir(self.prefix) and self.libE_specs.get('ensemble_copy_back', False):
copybackdir = os.path.join(self.startdir, os.path.basename(self.prefix))
if os.path.basename(self.prefix) in os.listdir(self.startdir):
copybackdir += '_back'
Expand Down

0 comments on commit 5b91988

Please sign in to comment.