How to install in WPS on Ubuntu server.

After I have installed WRFV3.6.1 in my server .. then I need to install WPS3.6 into my server too. So this is all of my steps.

First I would like to show my project structure in my server.

|— library
|— WRFV3
|— WPS
|— geog

After downloaded and extracted the WPS3.6.tar.gz. you need to run ./configure first time.

$ ./configure

Then you will get the configure.wps.

You need to update someting in configure.wps before you run ‘./compile’ command.

Look the line the has ‘DM_FC’.

DM_FC               = mpif90 -f90=gfortran

Then change to

DM_FC               = mpif90

After you edit, you can run command ‘./compile’.


If you can compile the WPS complete, you will see these files:

lrwxrwxrwx 1 wrfadmin wrfadmin 23 Mar 18 10:32 geogrid.exe -> geogrid/src/geogrid.exe
lrwxrwxrwx 1 wrfadmin wrfadmin 21 Mar 18 10:32 ungrib.exe -> ungrib/src/ungrib.exe
lrwxrwxrwx 1 wrfadmin wrfadmin 23 Mar 18 10:32 metgrid.exe -> metgrid/src/metgrid.exe