Changes between Version 62 and Version 63 of WRF4GInstall


Ignore:
Timestamp:
May 2, 2013 1:24:42 PM (9 years ago)
Author:
carlos
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WRF4GInstall

    v62 v63  
    55Although in the following examples we will use the same computer to manage and run the experiments, scientists generally use a computer to prepare and manage the experiments (where WRF4G has to be installed) and different computing resources to run them (PBS or SGE Clusters, HPC infrastructures, stand-alone servers). We call '''User Interface (UI)''' to the computer where WRF4G is installed and '''Computing Resources (CR)''' to the nodes where a WRF experiment can run. In the following experiments the computer where the UI role is installed will act as CR.
    66
    7 == Required Software ==
    8 
    9 WRF4G needs having the following software installed on both UI and CR:
    10 
    11  * '''x86_64 Linux'''
    12  * '''Python''', version >= 2.4 and < 3.0.
     7== How to get WRF4G ==
     8The latest official version can get it by direct download [http://www.meteo.macc.unican.es/work/WRF4G.tar.gz WRF4G.tar.gz]. Before you get it, you have to check the WRF4G requirements both UI and CR:
     9* '''x86_64''' Linux
     10{{{
     11#!sh
     12[user@localhost ~]$ uname -p
     13x86_64
     14}}}
     15* '''[http://www.python.org/ Python]''', version >= '''2.4''' and < '''3.0'''
     16{{{
     17#!sh
     18[user@localhost ~]$ python -V
     19Python 2.7.3
     20}}}
    1321
    1422== Platform Notes ==
     
    2028 * '''Debian 6.0''': Issues not known.
    2129
    22 == Installation ==
    2330
    24 Download and unpack the distribution file  [http://www.meteo.macc.unican.es/work/WRF4G.tar.gz WRF4G.tar.gz] into the installation directory, for example your $HOME directory.
     31== Deploy WRF4G ==
     32
     33Download and unpack the distribution file into the deployment directory (e.g. `$HOME` directory).
    2534{{{
    2635#!sh
    27 [user@mycomputer~]$ cd $HOME
    28 [user@mycomputer~]$ wget http://www.meteo.unican.es/work/WRF4G.tar.gz
    29 [user@mycomputer~]$ tar xzvf WRF4G.tar.gz
     36[user@localhost ~]$ cd
     37[user@localhost ~]$ wget http://www.meteo.unican.es/work/WRF4G.tar.gz
     38[user@localhost ~]$ tar xzvf WRF4G.tar.gz
    3039}}}
    31 
    32 Setup the WRF4G user environment. (To avoid typing the export command every time you want to use WRF4G, it is advisable to copy these lines in $HOME/.bashrc)
     40Setup the WRF4G environment.
    3341{{{
    3442#!sh
    35 [user@mycomputer~]$ export WRF4G_LOCATION=$HOME/WRF4G
    36 [user@mycomputer~]$ export PATH=$WRF4G_LOCATION/bin:$PATH
     43[user@localhost ~]$ export PATH=$HOME/WRF4G/bin:$PATH
     44}}}
     45In order to avoid typing the export command every time you open a terminal, you should copy it  into `$HOME/.bashrc`.
     46{{{
     47#!sh
     48[user@localhost ~]$ echo "export PATH=$HOME/WRF4G/bin:$PATH" >> $HOME/.bashrc
    3749}}}
    3850
     
    4759== Verifying installation ==
    4860
    49 * Start the WRF4G Framework. This command will start the services needed by WRF4G to run.
    50 
     61You can verify if WRF4G has been deployed properly by running the following command:
    5162{{{
    5263#!sh
    53 [user@mycomputer~]$ wrf4g_framework start
     64[user@localhost ~]$ wrf4g_framework start
    5465Starting DRM4G (GridWay) .... OK
    5566Starting WRF4G_DB (MySQL) ... OK
    5667}}}
    5768
    58 * List the computing resources available.
    59 
    60 {{{
    61 #!sh
    62 [user@mycomputer~]$ wrf4g_resources
    63 HID PRI  OS              ARCH   NODES(U/F/T) LRMS             HOSTNAME                     
    64 0   1    GNU/Linux2.6.32 x86_64        0/1/1 FORK             mycomputer                     
    65 }}}
    66              
     69If the answers are not satisfactory ("OK"), you should check out the log files:
     70* `$HOME/WRF4G/opt/drm4g_gridway/var/gwd.log` for DRM4G (!GridWay)
     71* `$HOME/WRF4G/var/mysql.log` for WRF4G_DB (MySQL).
     72         
    6773[[NoteBox(note, '''You should now move to [wiki:WRF4GTutorial the WRF4G tutorial]''')]]
    6874
    6975== Problems ==
    7076If you find any problems, please [/newticket?component=WRF4G&owner=carlos&cc=antonio drop a ticket!!]
     77
     78
     79
     80
     81
     82
     83
     84
     85