[MITgcm-support] MITgcm on Mac OS X
Ed Hill
ed at eh3.com
Mon Nov 10 15:48:12 EST 2003
Hi folks,
We now have a Mac OS X system (a loaner G5), so heres a very brief
"HOWTO" list to help you get MITgcm running on that platform. If you
notice any errors or can suggest improvements, please send a response.
This information will eventually get added to the "MITgcm Developers
HOWTO" at:
http://mitgcm.org/devel_HOWTO/
Also, attached is the output from:
cd MITgcm/verification
./testreport -ieee -of=../tools/build_options/darwin_ppc_g77
which shows that all of the test suite will compile and run with g77.
The handful of "FAILs" appear to be just machine precision issues.
Ed
=== Mac OS X Notes ===
1) In order to distinguish between ".F" and ".f" files using make
(or Gnu make), you'll need a UFS (instead of the default HFS+)
filesystem. So create a UFS (or "Unix") filesystem using either the
DiskCopy utility (which creates a "loopback"-like disk image) or a
native partition on the hard disk. The latter approach should be
preferred as its likely to be faster (would someone please
check/benchmark the difference?).
2) Install the free (registration required to download) Apple-provided
developer's bundle which includes a copy of GCC (the "Gnu Compiler
Collection") at: http://developer.apple.com/macosx/
3) Install fink: http://fink.sourceforge.net/
4) Install g77 using "apt-get install g77"
5) If necessary, install bash, cvs, and/or other basic utilities using
the fink-provided "apt-get install ..." commands
6) Download (or get from CVS) a copy of MITgcm and make sure to place
it within the UFS partition or "Volume"
7) At this point, your Apple should work just like other Unix systems.
And *please* report any errors/problems you encounter to:
<MITgcm-support at mitgcm.org>
=== Mac OS X Notes ===
--
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/20031110/4b06dab4/attachment.sig>
More information about the MITgcm-support
mailing list