Skip to content
Snippets Groups Projects
Commit c1d94e4b authored by Kepa Cantero's avatar Kepa Cantero Committed by Manos Angelidis
Browse files

Merged in CSC_distributed_not_working (pull request #11)


[NRPJP-94] MapCSVRecorder does not work in MPI mode

Approved-by: default avatarEloy Retamino <retamino@ugr.es>
Approved-by: default avatarUgo Albanese <ugo.albanese@santannapisa.it>
parent 9ca700ee
No related branches found
No related tags found
No related merge requests found
...@@ -66,6 +66,10 @@ def launch_cle(argv): # pragma: no cover ...@@ -66,6 +66,10 @@ def launch_cle(argv): # pragma: no cover
help='the global experiment RNG seed', required=True) help='the global experiment RNG seed', required=True)
parser.add_argument('-v', '--verbose', action='store_true', parser.add_argument('-v', '--verbose', action='store_true',
help='increase output verbosity') help='increase output verbosity')
parser.add_argument('--token', dest='token',
help='specify the user Token', required=True)
parser.add_argument('--experiment_id', dest='experiment_id',
help='specify the experiment id', required=True)
args = parser.parse_args(argv) args = parser.parse_args(argv)
...@@ -100,8 +104,8 @@ def launch_cle(argv): # pragma: no cover ...@@ -100,8 +104,8 @@ def launch_cle(argv): # pragma: no cover
timeout_type="real", timeout_type="real",
playback_path=None, playback_path=None,
context_id=None, context_id=None,
token=None, token=args.token,
experiment_id="test", experiment_id=args.experiment_id,
brain_processes=None, brain_processes=None,
rng_seed=int(args.rng_seed)) rng_seed=int(args.rng_seed))
......
...@@ -102,7 +102,9 @@ class NestLauncher(object): ...@@ -102,7 +102,9 @@ class NestLauncher(object):
'--reservation={}'.format(reservation_str), '--reservation={}'.format(reservation_str),
'--sim-id={}'.format(self._sim_config._sim_id), '--sim-id={}'.format(self._sim_config._sim_id),
'--timeout={}'.format(timeout_str), '--timeout={}'.format(timeout_str),
'--rng-seed={}'.format(rng_str)] '--rng-seed={}'.format(rng_str),
'--token={}'.format(self._sim_config._token),
'--experiment_id={}'.format(self._sim_config.experiment_id)]
exe = '{python} -m hbp_nrp_distributed_nest.launch.main {args}'\ exe = '{python} -m hbp_nrp_distributed_nest.launch.main {args}'\
.format(python=sys.executable, args=' '.join(args)) .format(python=sys.executable, args=' '.join(args))
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment