Install TRIP2
For easy explanation, let >TRIP 2 = TRIP 2 directory.
To compile
TRIP 2, the following steps should be taken:
- Go to >TRIP 2/adm/ directory
Edit the Mkinclude file to fit your system.
Example of my Mkinclude:
INC = /usr/local/netcdf-3.6.0-p1/include LIB = -L/usr/local/netcdf-3.6.0-p1/lib -lnetcdf FC = ifort FFLAGS = -O -assume byterecl RM = /bin/rm CP = /bin/cp
|
- Go to >TRIP 2/lib/ directory
type: make clean
type: make all
- Go to >TRIP 2/bin/
Edit the file MAIN_day.f to modify nxin, nyin, nx, ny values
type: make clean
type: make all
If everything is OK, TRIP 2 is ready to run. The next steps are to prepare the runoff input fields and the maps required by TRIP2.