[ncl-install] Installing NCL 6.2.0 on Mac OS 10.7.5

Mary Haley haley at ucar.edu
Thu May 15 08:23:57 MDT 2014


Hi All,


I was able to compile NCL V6.2.0 on a MacOS 10.7 system using the GNU 4.5.0 compilers.  

If you want to try this binary, you need to download a gzipped tar file and unzip it wherever you want NCL installed. I recommend doing this in a test directory before overwriting any current NCL installation.

To get the file:

wget ftp.ucar.edu:/pub/scd/haley/ncl_ncarg-6.2.0.MacOS_10.7_64bit_gcc450.tar.gz

The installation instructions are the same as previous versions of NCL:

 - Once you have the file, you need to uncompress and untar it wherever you want the software to reside. For example, assume you want the software in /usr/local/ncl-6.2.0, and that the file is in /home/haley:

  mkdir /usr/local/ncl-6.2.0
  cd /usr/local/ncl-6.2.0
  tar -zxvf /home/haley/ncl_ncarg-6.2.0.MacOS_10.7_64bit_gcc450.tar.gz

 - You can then remove the file or save it somewhere.

  rm /home/haley/ncl_ncarg-6.2.0.MacOS_10.7_64bit_gcc450.tar.gz

 - You need to set the NCARG_ROOT environment to the parent directory and make sure $NCARG_ROOT/bin is on your search path:

 csh/tcsh:

 setenv NCARG_ROOT /usr/local/ncl-6.2.0
 setenv PATH $NCARG_ROOT/bin:$PATH
 rehash

 bash/sh/ksh:

 export NCARG_ROOT=/usr/local/ncl-6.2.0
 export PATH=$NCARG_ROOT/bin:$PATH

 - To quickly test that you are using the new NCL, type these two commands:

which ncl
ncl -V

It should say "/usr/local/ncl-6.2.0/bin/ncl" and "6.2.0".

Here's a quick graphical test. You need to click on the window that pops up with your left mouse button to advance through the rest of the frames:

ng4ex gsun01n -clean

Let me know if this binary works, and I'll put it on the ESG website.

Thanks,

--Mary


On May 13, 2014, at 12:01 PM, Mary Haley <haley at ucar.edu> wrote:

> Okay everybody, given the level of interest, I guess I should look into this.  :-)
> 
> Don't tell our IT department, but I do have a Mac 10.7 system on my desk. It's supposed to be getting picked up and recycled any day now by them, but they just haven't gotten around to it. I haven't turned it on for months!
> 
> The ol' Mac actually booted up, so I'll try to install 6.2.0 on it.  If I'm successful, I will post back here. If not, then I may have to take up Dave on his kind offer.
> 
> --Mary
> 
> On May 13, 2014, at 11:14 AM, David B. Reusch <dreusch at ees.nmt.edu> wrote:
> 
>> Hello,
>> 
>> I just wanted to share that I'm facing a similar situation with my 
>> desktop Mac.  It's just one hardware generation too old for 10.8 or 10.9 
>> and thus currently not able to go to NCL 6.2.  I have experience doing 
>> complex from-source installs but haven't felt ready to tackle 6.2 yet 
>> (it is not trivial).  I'm also pondering a system "hack" that is 
>> supposed to make it possible to install 10.8 on my Mac Pro, in which 
>> case I might not have to deal with the from-source install after all 
>> (see my postscript for links).
>> 
>> I admit I haven't thought through all the implications, but I'd be 
>> willing to consider making this machine available to the NCL folks to 
>> get a 10.7 binary out there.  I understand that this might not be a path 
>> you want to take though :-)
>> 
>> Cheers,
>> Dave
>> 
>> P.S. Those of you with older Mac Pros might find the following links of 
>> interest.  I have *not* tried any of the suggestions nor am I in any way 
>> able to answer questions about them.  This is just a "public service".
>> http://www.reddit.com/r/apple/comments/1rsp3q/install_mavericks_on_older_mac_pro_11_21_20062007/
>> http://forums.macrumors.com/showthread.php?t=1325709
>> http://lifehacker.com/5994204/mlpostfactor-installs-mountain-lion-on-older-macs
>> http://www.jabbawok.net/?p=47
>> http://www.everymac.com/mac-answers/os-x-mountain-lion-faq/how-to-hack-incompatible-macs-to-run-os-x-mountain-lion.html
>> 
>> Mary Haley said the following on 5/13/2014 11:01 AM:
>>> Hi Mattias,
>>> 
>>> Unfortunately MacOS 10.7 is a bit too old for us to support anymore. The issue is that  Apple stops supporting these systems in terms of providing the latest compilers, etc, which in turn makes it hard for us to compile newer code that depends on these newer versions of compilers.
>>> 
>>> You can try building NCL from source code. There are detailed instructions at:
>>> 
>>> http://www.ncl.ucar.edu/Download/build_from_src.shtml
>>> 
>>> Since the build system is set up to recognize MacOSX systems, you shouldn't need to change any code, but you might need to edit the $NCARG/config/Darwin_Intel file.
>>> 
>>> If you have any problems with this, please post them to back to this list, and I will try to help. It is really helpful if you can provide the "make-output" file that contains the output from the NCL build (the instructions mention this).
>>> 
>>> Another user (Basit Khan) posted a similar question about a week ago, and I've included him here in case he's had any success building NCL on his own.
>>> 
>>> --Mary
>>> 
>>> 
>>> On May 12, 2014, at 11:10 PM, Mattias Cape <mattias at spg.ucsd.edu> wrote:
>>> 
>>>> Hi,
>>>> 
>>>> I¹d like to install NCL to plot output from an atmospheric model (grib
>>>> format). I¹m currently running Mac OS 10.7.5, and have gcc version 4.2.1 and
>>>> gfortran version 4.6.1
>>>> 
>>>> gfortran --version
>>>> GNU Fortran (GCC) 4.6.1
>>>> gcc --version
>>>> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
>>>> 5658) (LLVM build 2335.15.00)
>>>> 
>>>> I was unable to find a binary for my version of OSX, but tried to install
>>>> ncl_ncarg-6.2.0.MacOS_10.8_64bit_gcc471.tar.gz. I followed the directions
>>>> from http://www.ncl.ucar.edu/Download/install.shtml without any issues.
>>>> However when I tested the install with
>>>> 
>>>> ng4ex gsun01n -clean
>>>> 
>>>> No window or plot popped up. The gsun01n file was copied to the directory
>>>> however and no error was returned. My display settings are as follows:
>>>> 
>>>> echo $DISPLAY
>>>> /tmp/launch-aWEnSQ/org.x:0
>>>> 
>>>> Trying to simply run ncl gives me an error however
>>>> 
>>>> ncl -V
>>>> Segmentation fault: 11
>>>> 
>>>> Because I am using an older version of OSX, including older compilers, I'm
>>>> having a hard time isolating the problem. I wanted to see if I could get
>>>> some suggestions on things to try. Upgrading to OS 10.8 would not
>>>> necessarily be my first choice but perhaps it's necessary.
>>>> 
>>>> Thanks for the help,
>>>> 
>>>> Mattias
>>>> 
>>>> _______________________________________________
>>>> ncl-install mailing list
>>>> List instructions, subscriber options, unsubscribe:
>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>>> _______________________________________________
>>> ncl-install mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>>> 
>> 
>> -- 
>> Associate Research Professor of Climatology
>> Dept of Earth and Environmental Science
>> MSEC 304; 801 Leroy Pl
>> New Mexico Tech
>> Socorro, NM 87801
>> 
>> _______________________________________________
>> ncl-install mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
> 
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install



More information about the ncl-install mailing list