Changes between Version 62 and Version 63 of WRF4GInstall
- Timestamp:
- May 2, 2013 1:24:42 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WRF4GInstall
v62 v63 5 5 Although 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. 6 6 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 == 8 The 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 13 x86_64 14 }}} 15 * '''[http://www.python.org/ Python]''', version >= '''2.4''' and < '''3.0''' 16 {{{ 17 #!sh 18 [user@localhost ~]$ python -V 19 Python 2.7.3 20 }}} 13 21 14 22 == Platform Notes == … … 20 28 * '''Debian 6.0''': Issues not known. 21 29 22 == Installation ==23 30 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 33 Download and unpack the distribution file into the deployment directory (e.g. `$HOME` directory). 25 34 {{{ 26 35 #!sh 27 [user@ mycomputer~]$ cd $HOME28 [user@ mycomputer~]$ wget http://www.meteo.unican.es/work/WRF4G.tar.gz29 [user@ mycomputer~]$ tar xzvf WRF4G.tar.gz36 [user@localhost ~]$ cd 37 [user@localhost ~]$ wget http://www.meteo.unican.es/work/WRF4G.tar.gz 38 [user@localhost ~]$ tar xzvf WRF4G.tar.gz 30 39 }}} 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) 40 Setup the WRF4G environment. 33 41 {{{ 34 42 #!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 }}} 45 In 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 37 49 }}} 38 50 … … 47 59 == Verifying installation == 48 60 49 * Start the WRF4G Framework. This command will start the services needed by WRF4G to run. 50 61 You can verify if WRF4G has been deployed properly by running the following command: 51 62 {{{ 52 63 #!sh 53 [user@ mycomputer~]$ wrf4g_framework start64 [user@localhost ~]$ wrf4g_framework start 54 65 Starting DRM4G (GridWay) .... OK 55 66 Starting WRF4G_DB (MySQL) ... OK 56 67 }}} 57 68 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 69 If 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 67 73 [[NoteBox(note, '''You should now move to [wiki:WRF4GTutorial the WRF4G tutorial]''')]] 68 74 69 75 == Problems == 70 76 If you find any problems, please [/newticket?component=WRF4G&owner=carlos&cc=antonio drop a ticket!!] 77 78 79 80 81 82 83 84 85