[ncl-install] nacrg on Mac OS X Lion
Junjun Mao
jmao at ccny.cuny.edu
Mon Sep 19 08:46:40 MDT 2011
The "animate" function of the pre-compiled binary of ncar on Mac OS X
Lion crashes. I don't know if it is a X11 library computability problem
or something missing in the installation.
Reading instruction and notes for Mac at
http://www.ncl.ucar.edu/Download/macosx.shtml I see a line:
"If it echoes "10.7.x", then you should be able to use the above binary,
but you may also need to install "gfortran" via MacPorts:
sudo port install gcc45 +gfortran"
So I suspected I have to use MacPort gcc and gfortran. However, the
installed the installed gcc and gfortran are located under
/opt/local/bin and named gcc-mp-4.5 and gfortran-mp-4.5 receptively.
If I don't want to move everything (bin, include, library etc) to the
system directory /usr/local, what should I do to tell ncar use the
Macport compilers and libraries? Do I need to manually edit scripts
ncargf90 and ncargcc?
Junjun
--
Dr. Junjun Mao
Research Associate and Systems Manager
Levich Institute, City College of New York
Email: jmao at ccny.cuny.edu
Phone: 212-650-6845
Fax: 212-650-6835
More information about the ncl-install
mailing list