[MITgcm-support] genmake2 problem on alpha

jeff polton jpolton at ucsd.edu
Wed Sep 29 12:39:15 EDT 2004


For list completeness, here is Ed's clever solution to my problem:

install GNU make
Use latest genmake2
use Bourne shell instead of bash

then got it to compile by doing the following:


   $  cd ~/MITgcm/bin
   $  sh ../tools/genmake2  "-make=gmake" "-mods=../my/code" \
        "-of=/due3/jeff/eh3_optfile"
   $  gmake CLEAN

   ==> then edited the Makefile to add "-DTARGET_DEC -DWORDLENGTH=1 
-D_BYTESWAPIO"
   ==> to the list of DEFINES

   $  gmake depend
   $  gmake



Thanks Ed,

Jeff




More information about the MITgcm-support mailing list