Ignore:
Timestamp:
02/24/16 17:11:19 (8 years ago)
Author:
labetoulle
Message:

Homogenization of cpt files parsing, including multi-node projects on Curie

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/ConsoGENCI/trunk/bin/init_alloc_tbl.py

    r2713 r2751  
    1919 
    2020 
    21 ######################################## 
     21####################################################################### 
    2222if __name__ == "__main__": 
    2323 
    2424  project_list = [ 
    2525    { 
    26       "name": "gencmip6", 
     26      "name": "gen0826", 
    2727      "centre": "tgcc", 
    2828      "machine": "curie", 
    29       "node": "thin", 
    30       "alloc": 5000000, 
    31       "start": "20150101", 
    32       "end": "20150630", 
     29      "node": "fat/large", 
     30      "alloc": 114000, 
     31      "start": "2015-01-01 00:00:00", 
     32      "end": "2015-12-31 23:59:59", 
     33    }, 
     34    { 
     35      "name": "gen0826", 
     36      "centre": "tgcc", 
     37      "machine": "curie", 
     38      "node": "hybrid", 
     39      "alloc": 25000, 
     40      "start": "2015-01-01 00:00:00", 
     41      "end": "2015-12-31 23:59:59", 
     42    }, 
     43    { 
     44      "name": "gen0826", 
     45      "centre": "tgcc", 
     46      "machine": "curie", 
     47      "node": "thin/standard", 
     48      "alloc": 114000, 
     49      "start": "2015-01-01 00:00:00", 
     50      "end": "2015-12-31 23:59:59", 
    3351    }, 
    3452    { 
     
    3654      "centre": "tgcc", 
    3755      "machine": "curie", 
    38       "node": "thin", 
     56      "node": "thin/standard", 
     57      "alloc": 5000000, 
     58      "start": "2015-01-01 00:00:00", 
     59      "end": "2015-06-30 23:59:59", 
     60    }, 
     61    { 
     62      "name": "gencmip6", 
     63      "centre": "tgcc", 
     64      "machine": "curie", 
     65      "node": "thin/standard", 
    3966      "alloc": 15000000, 
    40       "start": "20150701", 
    41       "end": "20151231", 
     67      "start": "2015-07-01 00:00:00", 
     68      "end": "2015-12-31 23:59:59", 
     69    }, 
     70    { 
     71      "name": "gencmip6", 
     72      "centre": "tgcc", 
     73      "machine": "curie", 
     74      "node": "thin/standard", 
     75      "alloc": 25000000, 
     76      "start": "2016-01-01 00:00:00", 
     77      "end": "2016-06-30 23:59:59", 
     78    }, 
     79    { 
     80      "name": "gencmip6", 
     81      "centre": "tgcc", 
     82      "machine": "curie", 
     83      "node": "thin/standard", 
     84      "alloc": 50000000, 
     85      "start": "2016-07-01 00:00:00", 
     86      "end": "2016-12-31 23:59:59", 
    4287    }, 
    4388    { 
     
    4792      "node": "standard", 
    4893      "alloc": 2000000, 
    49       "start": "20150101", 
    50       "end": "20151231", 
     94      "start": "2015-01-01 00:00:00", 
     95      "end": "2015-12-31 23:59:59", 
     96    }, 
     97    { 
     98      "name": "rgzi", 
     99      "centre": "idris", 
     100      "machine": "ada", 
     101      "node": "standard", 
     102      "alloc": 4000000, 
     103      "start": "2016-01-01 00:00:00", 
     104      "end": "2016-12-31 23:59:59", 
    51105    }, 
    52106  ] 
     
    99153 
    100154  cdb.commit_db(conn) 
     155 
     156  cdb.close_db(conn) 
Note: See TracChangeset for help on using the changeset viewer.