prolog.wrf4g configuration file allows specify tools to be used locally on the remote computing resources. This file has to be in the directory in which experiment.wrf4g is located. In order to help you, we show two possible examples bellow:
[user@mycomputer~]$ cat prolog.wrf4g export PATH=~/WPS:$PATH export PATH=~/WRFV3/run:$PATH export PATH=~/netCDF/bin:$PATH
[user@mycomputer~]$ cat prolog.wrf4g if [ $GW_HOSTNAME = mycomputer ]; then use WRFV3.3.1 use netCDF4.1.3 use mpich2 fi if [ $GW_HOSTNAME = mycomputer2 ]; then use WRFV3.3.1 use netCDF4.1.3 use mvapich2 fi
How to know the value of all $GW_HOSTNAME variable?
[user@mycomputer~]$ wrf4g_resources | awk {'print $11'} HOSTNAME mycomputer mycomputer2