Assuming that you will be untarring the file in your home (~) directory, execute the following commands (you can just cut and paste them from this web page):
cd
gunzip cgdyorick.tar.gz
tar xf cgdyorick.tar
cd ~/yoricksrc/yorick-1.4.orig
./configure --prefix=here
make
make check
make install
make clean
This installs the standard version of Yorick1.4 as the executable "~/yoricksrc/yorick-1.4.orig/bin/yorick". To install the HOPS source code, grab the file contrib.tar.gz, and save it as "~/yoricksrc/yorick-1.4.orig/Yorick/contrib.tar.gz". Then type:
cd ~/yoricksrc/yorick-1.4.orig/Yorick
gunzip contrib.tar.gz
tar xvf contrib.tar
rm contrib.tar
This installs the HOPS source code and all the example scripts as contributed Yorick software in the directory "~/yoricksrc/yorick-1.4.orig/Yorick/contrib".
To use HOPS effectively, you need to install the CGD version of Yorick. To do that, type:
cd ~/yoricksrc/cgdyorick
rm Makefile
mv ~/yoricksrc/yorick-1.4.orig/Yorick/contrib/Makefile .
make
This creates the executable "~/yoricksrc/cgdyorick/cgdyorick" containing the CGD version of Yorick. To start up Yorick and load HOPS, type:
~/yoricksrc/cgdyorick/cgdyorick
> #include "hops.i"
> ...
(You may want to alias the command "cgdyorick" or create a symbolic link to it.)
To convert CCM3 history files to netCDF, you can use the ccm2nc utility.