[MITgcm-support] OSX with absoft build?

Ed Hill ed at eh3.com
Fri Feb 20 14:05:18 EST 2004


On Fri, 2004-02-20 at 12:32, Michael Schaferkotter wrote:
> greetings:
> 
> i was able to build MITcgm on Lintel machine with pgf77. also the plume on shelf program was built and run.
> now i just need to look at the results in matlab.
> 
> 
> i tried to build on OSX:
> 
> there are these 'build_options'
> 
> darwin_absoft_f77               linux_amd64_g77                 linux_ia64_g77                  sn6312
> darwin_g77                      linux_ia32_g77                  nec_sx6+mpi_dkrz                sn7113
> darwin_ppc_g77                  linux_ia32_g77+cg01             nec_sx6_dkrz                    sp3
> 
> (some deleted).
> 
> in the Makefile:
> 
> # by the command:
> #    ../../tools/genmake2 -mods=./code -fc=absoft_f77
> # executed by:
> #    schaferk at m-r-schaferkotters-Computer.local.:/Users/schaferk/MITgcm/verification/plume_on_slope
> #
> # OPTFILE="../../tools/build_options/darwin_ppc_g77"
> 
> 
> make generates many errors like:
> 
> [m-r-schaferkotters-Computer:~/MITgcm/verification/plume_on_slope] schaferk% make
> g77 -Wimplicit -Wunused -Wuninitialized -O3 -funroll-loops -c chksum_tiled.f
> chksum_tiled.f:4: undefined or invalid # directive
> chksum_tiled.f: In subroutine `chksum_tiled':
> chksum_tiled.f:9: undefined or invalid # directive
> chksum_tiled.f:10: undefined or invalid # directive
> chksum_tiled.f:14: 
>          _RL fld(1-OLx:sNx+OLx,1-OLy:sNy+OLy,NN,nSx,nSy)
>          ^
> Statement at (^) begins with invalid token [info -f g77 M LEX]
> 
> 
> how do i specify which build_option to use?  genmake2 -help revealed -fc (fortran name), so
> i tried -fc=absoft_f77 with no success.
> 
> how to build on OSX using g77 and absoft_f77?


Hi Michael,

You need to do the build within a UFS partition on MacOSX since the HFS+
file-system is "broken".  Please see:

http://dev.mitgcm.org/pipermail/mitgcm-support/2003-November/001832.html

for full details.

Ed

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Room 54-1424;  77 Massachusetts Ave.
            Cambridge, MA 02139-4307
email:   eh3 at mit.edu,  ed at eh3.com
URL:     http://web.mit.edu/eh3/
phone:   617-253-0098
fax:     617-253-4464
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20040220/5e4853da/attachment.sig>


More information about the MITgcm-support mailing list