From 55bbb70657d56db057705c0e4ea726ce2df4e17e Mon Sep 17 00:00:00 2001 From: David Hendriks <davidhendriks93@gmail.com> Date: Wed, 7 Apr 2021 20:21:38 +0100 Subject: [PATCH] Updated code to handle with pycapsules. Assignment of memory is only done within the multiprocessing process/thread, otherwise we cant use multiprocessing --- binarycpython/utils/grid.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/binarycpython/utils/grid.py b/binarycpython/utils/grid.py index 8d788d11c..bc73f755b 100644 --- a/binarycpython/utils/grid.py +++ b/binarycpython/utils/grid.py @@ -848,7 +848,6 @@ class Population: """ binary_cmdline_string = self._return_argline(full_system_dict) - print(binary_cmdline_string) persistent_data_memaddr = -1 if self.bse_options.get("ensemble", 0) == 1: @@ -1143,8 +1142,7 @@ class Population: # ### Custom logging code: self._set_custom_logging() - ### Load store: Make sure this actually works. - self.grid_options["_store_memaddr"] = _binary_c_bindings.return_store_memaddr() + # ### Load store: Make sure this actually works. ### ensemble: make some checks for this ## check the settings and set all the warnings. @@ -1290,9 +1288,6 @@ class Population: # Unload functions # TODO: unload functions - # Unload store - _binary_c_bindings.free_store_memaddr(self.grid_options["_store_memaddr"]) - # Unload/free custom_logging_code # TODO: cleanup custom logging code. -- GitLab