--- ea/submit_sites.py 2012/08/27 11:46:35 1 +++ ea/submit_sites.py 2012/10/09 16:17:03 18 @@ -1,3 +1,16 @@ +# +# BonFIRE Virtual Clusters on Federated Clouds Demonstration Kit +# +# Copyright (c) Fundacion Centro Tecnologico de Supercomputacion de Galicia 2012 +# +# License Apache Software +# +# The research leading to these results has received funding from +# the European Community's Seventh Framework Programme (FP7/2007-2013) +# under agreement number 257386 +# +# This software is provided with ABSOLUTELY NO WARRANTY +# ''' Created on 22/02/2012 @@ -16,9 +29,9 @@ """################################################################ -# Envio de experimentos # +# Submisson of experiments # ###################################################################""" -#Descripcion del trabajo en Json +#Json description exp={'description': 'Experiment description', 'duration': 120, 'name': 'My Experiment', @@ -31,12 +44,13 @@ -#Indicamos la lista de sites a la que queremos enviar, la duracion de los experimentos -# y nos devuelve una lista con stings en json con la definicion del experimento +#List of sites where the experiments can be send and the maximum time. + locations=['be-ibbt','fr-inria','uk-hplabs','uk-epcc'] duration = 120 locations = ['fr-inria'] +# Get a JSON string with the experiment definition for these locations and times. exp, info_instance, info_storage, info_location = expt.json_exp(locations, duration) multi = 10