On some of the computer systems used in the CKO, the udunits library is not available in a standard location. On these systems you have to install your own copy of the library. This page contains instructions on how to do this.
| Linux PCs with Lahey/Fujitsu Fortran |
Download and unpack the udunits distribution from the
UNIDATA
web site. Then download and unpack
this patch.
Hereafter enter the following commands
when you are using a Bourne shell (sh) or derived
shell (ksh,bash):cd udunits-1.11.7/src FC=lf95 CPPFLAGS=-DlaheyFortran ./configure --prefix=$HOME make make test make installor when you are using a C shell look-a-like: cd udunits-1.11.7/src env FC=lf95 CPPFLAGS=-DlaheyFortran./configure --prefix=$HOME make make test make install |
| Linux PCs with Portland Group Fortran | Follow the instructions for the Lahey/Fujitsu Fortran compiler but using FC=pgf90 and CPPFLAGS=-DpgiFortran. |
Note that in the instructions above the name of the udunits directory might be slightly different if you are using a different version of the library. Also note that you can replace the directory $HOME with any directory you like, but $HOME is probably the most convenient location to install the library, header files and tools.
Return to the CKO modelling support page