Version 8 (modified by valva, 11 years ago) (diff) |
---|
Table of Contents
WRF4G Components
WRF4G is a software that has 2 main components, one runs in the user's interface (UI) (usually their PCs) and manages the experiments and the resources used by the experiment. This component is in charge of the design, execution and monitoring of experiments. Once submitted to a resource, WRF4G start to run in a Computing Node.
A user can use the following resources as Computing Nodes:
- The same UI where their are running the WRF4G framework.
- Workstation or stand-alone server.
- Cluster (PBS, SGE, SLURM)
- Mainframe HPC.
- Grid infrastructures (currently supported globus and gLite)
In the examples shown bellow, we will use only a Computing Node that will be the UI where the framework is running.
Required Software
WRF4G need the following software preinstalled both in the UI and the Computing Nodes:
- Python, version >= 2.4 and < 3.0.
- MySQLdb: Ubuntu: sudo apt-get install python-mysqldb. Centos/RHEL: yum install MySQL-python
Platform Notes
WRF4G has been run only in 64bits platforms. Currently has been tested under the following O.S.:
- Ubuntu 10.04 and 11.04: No known issues.
- Centos 5: No known issues.
- Debian 6.0: No known issues.
Installation
- Download and unpack the distribution file WRF4G.tar.gz to the installation directory, for example your $HOME directory.
cd $WRF4G_INSTALL_PATH (i.e cd $HOME) wget http://meteo.macc.unican.es/work/WRF4G.tar.gz tar xzvf WRF4G.tar.gz
- Setup the WRF4G user environment. (To avoid typing the export command every time you want to use WRF4G, it is advisable to copy this line in $HOME/.bashrc)
export WRF4G_LOCATION=$WRF4G_INSTALL_PATH/WRF4G export PATH=$WRF4G_LOCATION/bin:$GW_LOCATION/bin:$PATH
Veryfing installation
A video with the main steps can be downloaded from here
- Start the WRF4G Framework. This command will start the services needed by WRF4G to run.
wrf4g_framework start
- List the computing resources available.
$ ~/wrf4g$ wrf4g_resources HID PRIO OS ARCH MHZ %CPU MEM(F/T) DISK(F/T) N(U/F/T) LRMS HOSTNAME 0 1 GNU/Linux2.6.32 unkno 1000 0 1822/3270 2139/8662 0/1/1 FORK mycomputer
- Launch the test experiment in the machine where WRF4G is installed:
- Go to the folder where the experiment configuration files are located:
cd $WRF4G_LOCATION/experiments/single/testc
- Go to the folder where the experiment configuration files are located:
- Prepare and submit the experiment:
valva@sipc18:~/pruebasWRF/WRF4G/experiments/single/testc$ wrf4g_prepare valva@sipc18:~/pruebasWRF/WRF4G/experiments/single/testc$ wrf4g_submit
- Run wrf4g_status to see the jobs' status
valva@sipc18:~/pruebasWRF/WRF4G/experiments/single/testc$ wrf4g_status -e testc Realization Status Chunks Comp.Res WN Run.Sta ext % testc Done 3/3 mycomputer sipc18 Finished 0 100.00
Problems
If you find any problem, please submit us a ticket!!