Log In | Get Help   
Home My Page Projects Code Snippets Project Openings BonFIRE VCOC Demonstration Kit
Summary Activity SCM Files Wiki
[bonfiredemokit] Diff of /ea/submit_sites.py
[bonfiredemokit] / ea / submit_sites.py Repository:
ViewVC logotype

Diff of /ea/submit_sites.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9, Thu Aug 30 12:48:07 2012 UTC revision 18, Tue Oct 9 16:17:03 2012 UTC
# Line 3  Line 3 
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 Frameqork Programme (FP7/2007-2013)  # the European Community's Seventh Framework Programme (FP7/2007-2013)
10  # under agreement number 257386  # under agreement number 257386
11  #  #
12  # This software is provided with ABSOLUTELY NO WARRANTY  # This software is provided with ABSOLUTELY NO WARRANTY
# Line 29  Line 29 
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',
# Line 44  Line 44 
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

Legend:
Removed from v.9  
changed lines
  Added in v.18

root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge