Changes between Version 44 and Version 45 of WRF4Gframework4g_conf


Ignore:
Timestamp:
Mar 31, 2013 3:12:41 PM (9 years ago)
Author:
carlos
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WRF4Gframework4g_conf

    v44 v45  
    3737* FORK
    3838* !LoadLeveler
    39 * MN SLURM (only for Red Española de Supercomputación)           
     39* SLURM
    4040
    4141{{{
    42 [Computing Resources]
    43 #*************************************************************************************************************************************
    44 #                                   HOST CONFIGURATION FILE
    45 #                                   -----------------------
     42[ComputingResources]
    4643# Syntax
    4744#   '#' Comments
    4845#
    49 # This file contains one resource per line, with format:
     46# This section contains one resource per line, with format:
    5047#
    51 #   resource_name    attributes
    52 #   ...     ...
    53 #   resource_name    attributes
     48#   resource = attributes
     49#   ...  ...
     50#   resource = attributes
    5451#
    5552#   where:
    56 #   
    57 #   * resource_name: is the name of the resource.
    58 #   * attributes: are the static attributes of the resource. The syntax is:
    5953#
    60 #        <scheme>://<username>@<host>?<query>
     54#   * resource  : It is the name of the computing resource.
     55#   * attributes: They are the static attributes of the computing resource. The syntax is:
    6156#
    62 #        -scheme: the URL schemes available are "ssh" and "local".
    63 #            * ssh:   access to remote DRM via SSH
    64 #            * local: use the local DRM
    65 #        -username: user name
     57#        <scheme>://<username>@<host:port>?<query>
     58#
     59#        -scheme: URL schemes available are "ssh" and "local".
     60#            * ssh:   In order to connect to remote resource via SSH
     61#            * local: In order to use a local resource
     62#        -username: user name on the resource
    6663#        -host: host name
    67 #        -query: contains additional information. The query string syntax is:
     64#        -port: host port to connect to. By DEFAULT is 22
     65#        -query: contains additional information of computing resources. The query string syntax is:
    6866#            * key1=value1;key2=value2;key3=value3
    69 #           
    70 #             Variable options:
    71 #               
    72 #                * LRMS_TYPE(mandatory): DRM system for execution [pbs | sge | fork | loadleveler | mnslurm ]
    73 #                * PROJECT(optional for SGE, PBS and LoadLeveler): specifies the user's project on the computing resource
    74 #                * GW_RUNDIR(optional): directory on the computing resource in which simulation jobs are deployed. By default, it is user's home.
    75 #                     Be carefully with this variable, we recommend you change this directory in production because the home directory usually has
    76 #                     a low quote (have to be an absolute path)
    77 #                * GW_LOCALDIR(optional): defines the working directory on the computing resource (have to be an absolute path)
    78 #                * NODECOUNT(optional): total number of slots on the DRM system (cores)
    79 #                * QUEUE_NAME(optional): the name of the queue to configure
     67#            Variable options:
     68#               LRMS_TYPE    (mandatory)    : Type of LRMS system [pbs | sge | fork | slurm ]
     69#               NODECOUNT    (mandatory)    : Maximum number of job slots for a resource
     70#               QUEUE_NAME   (mandatory)    : Queue name to configure. It is mandatory except for "LRMS_TYPE=fork"
     71#               SSH_KEY_FILE (optional)     : Defines the key file for "ssh" connection.
     72#                                             By DEFAULT is ~/.ssh/id_rsa
     73#               PROJECT      (optional)     : Specifies the project which the jobs are assigned.
     74#                                             It is only optional for SGE and PBS
     75#               PARALLEL_TAG (optional)     : Defines the parallel environments available for SGE
     76#               TEMP_DIR     (optional)     : Temporary directory used by DRM4G on the resource to temporarily store data
     77#                                             By DEFAULT is $HOME. TEMP_DIR path must be absolute
     78#               RUN_DIR      (optional)     : Temporary directory used to run WRF Model on the resource
     79#                                             By DEFAULT is $HOME. RUN_DIR path must be absolute
    8080#
    81 # 
    82 #*************************************************************************************************************************************************
     81#*********************************************************************************************
     82#
    8383# Examples
     84#
     85# resource            = <scheme>://<username>@<host>?<query>
     86# FORK_resource       = local://localhost?LRMS_TYPE=fork;NODECOUNT=1
     87# PBS_cluster         = local://localhost?LRMS_TYPE=pbs;QUEUE_NAME=estadistica;NODECOUNT=8
     88# SGE_cluster         = local://localhost?LRMS_TYPE=sge;QUEUE_NAME=meteo;PROJECT=l.project;NODECOUNT=16;PARALLEL_TAG=mpi
     89# remote_PBS_cluster  = ssh://user@hostname_submitting_machine?LRMS_TYPE=pbs;SSH_KEY_FILE=~/.ssh/id_rsa;QUEUE_NAME=short;NODECOUNT=16
     90# remote_SGE_cluster  = ssh://user@hostname_submitting_machine?LRMS_TYPE=sge;QUEUE_NAME=meteo;SSH_KEY_FILE=~/.ssh/id_dsa;NODECOUNT=64
     91# remote_FORK_cluster = ssh://user@hostname_submitting_machine?LRMS_TYPE=fork;NODECOUNT=1
    8492
    85 mycomputer                   local://localhost?LRMS_TYPE=fork;NODECOUNT=1
    86 #PBS_cluster                 local://localhost?LRMS_TYPE=pbs;QUEUE_NAME=estadistica
    87 #SGE_cluster                 local://localhost?LRMS_TYPE=sge;PROJECT=l.project
    88 #RES_cluster                 local://localhost?LRMS_TYPE=mnslurm
    89 #remote_PBS_cluster          ssh://user@hostname_submitting_machine?LRMS_TYPE=pbs;QUEUE_NAME=short
    90 #remote_SGE_cluster          ssh://user@hostname_submitting_machine?LRMS_TYPE=sge;PROJECT=l.project
    91 #remote_RES_cluster          ssh://user@hostname_submitting_machine?LRMS_TYPE=mnslurm
    92 #remote_FORK_cluster         ssh://user@hostname_submitting_machine?LRMS_TYPE=fork
    93 #remote_LoadLeveler_cluster  ssh://user@hostname_submitting_machine?LRMS_TYPE=loadleveler;NODECOUNT=100
     93# By default, WRF4G is going to use the local machine as FORK system
     94mycomputer   = local://localhost?LRMS_TYPE=fork;NODECOUNT=1
    9495}}}
    9596
    96 [[NoteBox(note, After modifying this file\, in order to make changes effective\, users will have to execute: || `wrf4g_framework reload`)]]
    97 
    98 
    9997More information regarding how to add resources on [wiki:DRM4G DRM4G].