From aadc9188c893e1bbfa89cb3f70e0d88b6e30b556 Mon Sep 17 00:00:00 2001 From: Sergio Date: Wed, 16 Aug 2023 19:43:38 +0200 Subject: [PATCH] Divide output folder by cycle, nodegroup ID, group ID, and node --- neurodamus/node.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neurodamus/node.py b/neurodamus/node.py index ba82f26a..83146be1 100644 --- a/neurodamus/node.py +++ b/neurodamus/node.py @@ -1316,8 +1316,9 @@ def _sim_corenrn_write_config(self, corenrn_restore=False): if MPI.rank == local_node_rank0: import shutil + group_id = int(SHMUtil.node_id / 20) node_specific_corenrn_output_in_storage = \ - Path(corenrn_output) / f"coreneuron_input_{SHMUtil.node_id}" + Path(corenrn_output) / f"coreneuron_input/cycle_{self._cycle_i}/group_{group_id}/node_{SHMUtil.node_id}" allfiles = glob.glob( os.path.join(corenrn_data, "*_[1-3].dat"), recursive=False )