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@193.144.213.182?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

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. See running environment for more information.

Example of configuration:

WRF4G_BASEPATH="rsync://userid_macc@193.144.213.182/home/users/user_neptuno/output" 
WRF4G_DOMAINPATH="rsync://userid_macc@193.144.184.31/work/gihc/repository/domains"
WRF4G_INPUT="rsync://userid_macc@193.144.184.31/work/gihc/repository/input"
WRF4G_APPS="rsync://userid_macc@193.144.184.31/work/gihc/repository/apps"