Skip to content

Commit

Permalink
Divide output folder by cycle, nodegroup ID, group ID, and node
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiorg-hpc committed Aug 16, 2023
1 parent b17886e commit aadc918
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion neurodamus/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit aadc918

Please sign in to comment.