Below are my notes while trying (and failing) to install MITgcm on OSX Yosemite beta.

  1. The newest XCode (as of 2015 Jan 13) does not have cvs, so I downloaded a the file MITgcm_c65h.tar.gz from http://mitgcm.org/download/.

  2. Unzip

    gunzip MITgcm_c64h.tar.gz
  3. Untar

    tar xvf MITgcm_c64h.tar
  4. Enter the base directory

    cd MITgcm_c64h
  5. Enter the bin directory and run a command (not exactly as documented)

    cd bin
    ../tools/genmake2 # the "2" is not documented
  6. Run make

    make

    which produces as follows (indicating more work will be required).

    gfortran: warning: couldn’t understand kern.osversion ‘14.1.0
    chksum_tiled.for:511.3:
    
      These lines are here to deliberately cause a compile-time error.      
       1
    Error: Non-numeric character in statement label at (1)
    chksum_tiled.for:511.3:
    
      These lines are here to deliberately cause a compile-time error.      
       1
    Error: Unclassifiable statement at (1)
    chksum_tiled.for:512.3:
    
      If you see these lines in your .F files or the compiler shows them    
       1
    Error: Non-numeric character in statement label at (1)
    chksum_tiled.for:512.3:
    
      If you see these lines in your .F files or the compiler shows them    
       1
    Error: Unclassifiable statement at (1)
    chksum_tiled.for:513.3:
    
      as an error then it means you have not placed your configuration      
       1
    Error: Non-numeric character in statement label at (1)
    chksum_tiled.for:513.3:
    
      as an error then it means you have not placed your configuration      
       1
    Error: Unclassifiable statement at (1)
    chksum_tiled.for:514.3:
    
      files in the appropriate place.                                       
       1
    Error: Non-numeric character in statement label at (1)
    chksum_tiled.for:514.3:
    
      files in the appropriate place.                                       
       1
    Error: Unclassifiable statement at (1)
    chksum_tiled.for:515.3:
    
      You need to place you own copy of SIZE.h in the include               
       1
    Error: Non-numeric character in statement label at (1)
    chksum_tiled.for:515.3:
    
      You need to place you own copy of SIZE.h in the include               
       1
    Error: Unclassifiable statement at (1)
    chksum_tiled.for:516.3:
    
      path for the model, and comment out these lines.                      
       1
    Error: Non-numeric character in statement label at (1)
    chksum_tiled.for:516.3:
    
      path for the model, and comment out these lines.                      
       1
    Error: Unclassifiable statement at (1)
    make[1]: *** [chksum_tiled.o] Error 1
    make: *** [fwd_exe_target] Error 2