WikiPrint - from Polar Technologies

How to add Neptuno facilities to WRF4G

WRF4G uses DRM4G to access to different Distributed Resource Managements (DRM) such as:

In order to add new resources, you need to edit Computing Resources section in the framework4g.conf file, which is located under $HOME/WRF4G/etc directory. The file has to contain one resource per line with the format:

   resource_name  = attributes
   ...     ...
   resource_name  = attributes

where:

The keys available are:

Example of configuration:

neptuno =  ssh://userid@IP_neptuno?LRMS_TYPE=neptuno;NODECOUNT=1500

If you want to configure Neptuno facilities using ssh protocol, you need to set up SSH login without password (see Appendix B) between MACC cluster and Neptuno, and vice-versa.

After modifying ComputingResources section, WRF4G takes few seconds in order to update the changes

Neptuno Running Options

Running Options section is defined in resources.wrf4g file and its variables of interest are:

Example of configuration:

REQUIREMENTS = 'PPN = 16'
NP = 16

NP = 16 and REQUIREMENTS = 'PPN = 16' which means 16 processors on one node.

Neptuno Data Repository

In addition, you need to update WRF4G_BASEPATH, WRF4G_DOMAINPATH, WRF4G_INPUT and WRF4G_APPS variables, which are defined in resources.wrf4g file. Due to the fact that these variables may point to other machines by default. See running environment for more information as well.

Example of configuration:

WRF4G_BASEPATH="rsync://id_user_neptuno@IP_neptuno/home/users/id_user_neptuno/wrf_repos/projects/seawind_ncep/data/raw" 
WRF4G_DOMAINPATH="/home/users/id_user_neptuno/wrf_repos/projects/seawind_ncep/domains"
WRF4G_INPUT="/home/users/id_user_neptuno/wrf_repos/DATA"
WRF4G_APPS="rsync://id_user_neptuno@IP_neptuno/home/users/id_user_neptuno/wrf_repos/apps"

Seawing Package Version

Package Version section is defined in resources.wrf4g file.

And for this experiment, we are going to use:

WRF4G_VERSION="1.0"
WRF_VERSION="3.1.1_r832INTEL_OMPInew"