diff --git a/hbp_nrp_distributed_nest/hbp_nrp_distributed_nest/launch/DistributedCLEProcess.py b/hbp_nrp_distributed_nest/hbp_nrp_distributed_nest/launch/DistributedCLEProcess.py index 9267a67793d6a3ac783e4f217e2943afb6f89ce8..2025f353e784deae4d32bb1e09d078b4fefa365c 100644 --- a/hbp_nrp_distributed_nest/hbp_nrp_distributed_nest/launch/DistributedCLEProcess.py +++ b/hbp_nrp_distributed_nest/hbp_nrp_distributed_nest/launch/DistributedCLEProcess.py @@ -70,6 +70,8 @@ def launch_cle(argv): # pragma: no cover help='specify the user Token', required=True) parser.add_argument('--experiment_id', dest='experiment_id', help='specify the experiment id', required=True) + parser.add_argument('--profiler', dest='profiler', + help='enabling the profiler in the CLE', required=True) args = parser.parse_args(argv) @@ -107,7 +109,8 @@ def launch_cle(argv): # pragma: no cover token=args.token, experiment_id=args.experiment_id, brain_processes=None, - rng_seed=int(args.rng_seed)) + rng_seed=int(args.rng_seed), + profiler=int(args.profiler)) # construct the simulation with given assembly class from main import simulation diff --git a/hbp_nrp_distributed_nest/hbp_nrp_distributed_nest/launch/NestLauncher.py b/hbp_nrp_distributed_nest/hbp_nrp_distributed_nest/launch/NestLauncher.py index f799874ed2adc73379dc7d4a1f905b9e80e7ba49..e6ed45af49369c2f06fc428908266ef0001d42bf 100644 --- a/hbp_nrp_distributed_nest/hbp_nrp_distributed_nest/launch/NestLauncher.py +++ b/hbp_nrp_distributed_nest/hbp_nrp_distributed_nest/launch/NestLauncher.py @@ -104,7 +104,8 @@ class NestLauncher(object): '--timeout={}'.format(timeout_str), '--rng-seed={}'.format(rng_str), '--token={}'.format(self._sim_config._token), - '--experiment_id={}'.format(self._sim_config.experiment_id)] + '--experiment_id={}'.format(self._sim_config.experiment_id), + '--profiler={}'.format(self._sim_config.profiler)] exe = '{python} -u -m hbp_nrp_distributed_nest.launch.main {args}'\ .format(python=sys.executable, args=' '.join(args))