Changes between Initial Version and Version 1 of Docs/PostProcessingAppNexcsSetup


Ignore:
Timestamp:
30/08/17 13:54:55 (3 years ago)
Author:
ros
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Docs/PostProcessingAppNexcsSetup

    v1 v1  
     1= NEXCS specific setup instructions for data transfer to JASMIN = 
     2 
     31. Edit `rose-suite-conf`:     Add '''PPTRANSFER=true''' 
     4 
     52. The PPTRANSFER variable will, by default, appear under ''"suite conf -> jinja2"''.  To tell Rose to place it with all the other suite control switches under ''"suite conf -> Build and Run"'' edit `meta/rose-meta.conf` to add in the metadata for the PPTRANSFER variable.  (This step is optional.) 
     6{{{ 
     7[jinja2:suite.rc=PPTRANSFER] 
     8compulsory=true 
     9description=Transfer files archived with PostProc to a remote machine 
     10help= 
     11ns=Build and Run 
     12sort-key=runPostproc1 
     13title=PP Transfer 
     14type=boolean 
     15}}} 
     16 
     173. Finally you need to add the ''pptransfer'' task into the cylc graph and also add the associated task definition. Edit `suite.rc` file: 
     18 
     19[To Do: Add in/change to cater for suites with the "SITE" setup] 
     20 
     21 * Add the ''pptransfer'' task into the graph for all subsequent cycles such that it runs after the ''postproc'' task and also waits for the previous ''pptransfer'' task to complete.  As an example for a coupled suite (All added lines indicated with ''"<="''): 
     22{{{ 
     23        [[[ {{FMT}} ]]] 
     24            graph = """ 
     25{% if RUN %} 
     26coupled[-{{FMT}}] => coupled {{ '=> \\' if POSTPROC or HOUSEKEEP else '' }} 
     27  {% if POSTPROC %} 
     28postproc {{ '=> \\' if PPTRANSFER or HOUSEKEEP else '' }}     <= "PPTRANSFER or" added here 
     29  {% endif %} 
     30  {% if PPTRANSFER %}                                         <= 
     31pptransfer {{ '=> \\' if HOUSEKEEP else '' }}                 <= 
     32  {% endif %}                                                 <= 
     33  {% if HOUSEKEEP %} 
     34housekeeping 
     35  {% endif %} 
     36  {% if POSTPROC %} 
     37postproc[-{{FMT}}] => postproc 
     38  {% endif %} 
     39  {% if PPTRANSFER %}                                         <= 
     40pptransfer[-{{FMT}}] => pptransfer                            <= 
     41  {% endif %}                                                 <= 
     42{% endif %} 
     43""" 
     44}}} 
     45 
     46* At the end of the file add the ''pptransfer'' task definitions: 
     47{{{ 
     48    [[postproc]] 
     49        inherit = None, POSTPROC 
     50 
     51    [[pptransfer]] 
     52        inherit = None, POSTPROC 
     53        [[[environment]]] 
     54            ROSE_TASK_APP = postproc 
     55}}}