3 |
# |
# |
4 |
# Copyright (c) Fundacion Centro Tecnologico de Supercomputacion de Galicia 2012 |
# Copyright (c) Fundacion Centro Tecnologico de Supercomputacion de Galicia 2012 |
5 |
# |
# |
6 |
# License GPL Version 3 |
# License Apache Software |
7 |
# |
# |
8 |
# The research leading to these results has received funding from |
# The research leading to these results has received funding from |
9 |
# the European Community's Seventh Framework Programme (FP7/2007-2013) |
# the European Community's Seventh Framework Programme (FP7/2007-2013) |
29 |
|
|
30 |
|
|
31 |
"""################################################################ |
"""################################################################ |
32 |
# Envio de experimentos # |
# Submisson of experiments # |
33 |
###################################################################""" |
###################################################################""" |
34 |
#Descripcion del trabajo en Json |
#Json description |
35 |
exp={'description': 'Experiment description', |
exp={'description': 'Experiment description', |
36 |
'duration': 120, |
'duration': 120, |
37 |
'name': 'My Experiment', |
'name': 'My Experiment', |
44 |
|
|
45 |
|
|
46 |
|
|
47 |
#Indicamos la lista de sites a la que queremos enviar, la duracion de los experimentos |
#List of sites where the experiments can be send and the maximum time. |
48 |
# y nos devuelve una lista con stings en json con la definicion del experimento |
|
49 |
locations=['be-ibbt','fr-inria','uk-hplabs','uk-epcc'] |
locations=['be-ibbt','fr-inria','uk-hplabs','uk-epcc'] |
50 |
|
|
51 |
duration = 120 |
duration = 120 |
52 |
locations = ['fr-inria'] |
locations = ['fr-inria'] |
53 |
|
# Get a JSON string with the experiment definition for these locations and times. |
54 |
exp, info_instance, info_storage, info_location = expt.json_exp(locations, duration) |
exp, info_instance, info_storage, info_location = expt.json_exp(locations, duration) |
55 |
|
|
56 |
multi = 10 |
multi = 10 |