  in /src/Makefile, find:
CLIB=/home/hkieffer/linux/lib/libhk_cisis.a
  AND replace with
CLIB=cfiles/libhk_cisis.a
  The copy the following line after the last line:
all: krc porbmn
  In src/krcc8m.f, make some (usual modifications), by replacing the first few lines by that:

###
C_Titl  krcc8m.f = KRCCOM common for input and transfer variables
C_Limitations 
      IMPLICIT NONE             ! none-the-less, try to code with usage
      INTEGER*4 MAXN1,MAXN2,MAXN3,MAXN4,MAXN5,MAXN6,MAXNH,MAXBOT
     &,MAXN1P,NUMFD,NUMID,NUMLD,N4KRC,NWKRC,KOMMON,MAXN4E
C Here are all the dimension-defining parameters for items in any common
      PARAMETER (MAXN1 =1000)     ! dimension of layers
      PARAMETER (MAXN2 =384*4*256)  ! dimension of times of day: 384=24*16
      PARAMETER (MAXN3 =16)     ! dimension of iteration days
      PARAMETER (MAXN4 =37)     ! dimension of latitudes
      PARAMETER (MAXN4E =38)     ! " "  Even needed for LATCOM NDJ4
      PARAMETER (MAXN5 =2161)     ! dimension of saved seasons
      PARAMETER (MAXN6 =6)       ! dimension of saved years
      PARAMETER (MAXNH =9600)     ! dimension of saved times of day, multiple of 24
      PARAMETER (MAXBOT=14)      ! dimension of time doublings  MUST BE EVEN
      PARAMETER (MAXN1P=MAXN1+1) ! dimension layer temperature points
      PARAMETER (NUMFD=96, NUMID=40, NUMLD=20) ! number of each type
      PARAMETER (N4KRC=NUMFD*2+NUMID+NUMLD+2*MAXN4*2+104/4) ! # of 4-byte words
              ! above is size of common in 32-bit words. it MUST be even
      PARAMETER (NWKRC=N4KRC/2) ! number of Real words in krccom. Used by tdisk
      PARAMETER (KOMMON=512000000) ! Storage used by tdisk
###
  
  Then compile KRC + some cleaning

cd src/cfiles/
make

cd ..
make

cd ./cfiles
make

cd ..
make

cd ../run
rm krc
rm porbmn

ln -s ../src/krc
ln -s ../src/porbmn

mkdir out/

