[ncl-install] NCL install problem

Mary Haley haley at ucar.edu
Tue Aug 29 16:07:45 MDT 2017


The macosx.shtml file that was mentioned earlier in this email thread
explains the issue and solution to the libgomp problem:

http://www.ncl.ucar.edu/Download/macosx.shtml#MissingLibs

It looks like your GNU compilers may need to be upgraded.

--Mary


On Tue, Aug 29, 2017 at 2:07 PM, Cheng Lijing <chenglij at mail.iap.ac.cn>
wrote:

> Dear Mary
>
>
>    I’m witing to ask you again about the NCL installation, sorry if it
> bothers you.
>
>
> When I try to test my NCL, it goes to the following error:
>
>   ng4ex xy01n -clean
>
> dyld: Library not loaded: /opt/local/lib/libgcc/libgomp.1.dylib
>
>   Referenced from: /Users/cheng/Documents/ncl-6.4.0/bin/ncargpath
>
>   Reason: image not found
>
> But I suppose my gcc and gfortran works, as you see:
>
> which gcc
>
> /usr/bin/gcc
>
> chengdeMBP:~ cheng$ which gfortran
>
> /usr/local/bin/gfortran
>
>
> So, what should I do with this error? Thanks a lot!
>
>
> Lijing
>
>
>  原始邮件
> *发件人:* Dennis Shea<shea at ucar.edu>
> *收件人:* Cheng Lijing<chenglij at mail.iap.ac.cn>
> *抄送:* Mary Haley<haley at ucar.edu>
> *发送时间:* 2017年8月29日(周二) 11:47
> *主题:* Re: [ncl-install] NCL install problem
>
> Hi Lijing
>
> Were you able to install NCL?
>
> ?
>
> On Tue, Aug 29, 2017 at 7:53 AM, Mary Haley <haley at ucar.edu> wrote:
>
>> Well that's embarrassing! I've fixed the "macosx.shtml" page to not
>> mention ng4ex.  It should be enough to use your MacOS spotlight application
>> or file finder to check for the existence of XQuartz and its version.
>>
>> I will update the documentation to reflect this.
>>
>> --Mary
>>
>>
>> On Mon, Aug 28, 2017 at 5:17 PM, Dave Allured - NOAA Affiliate <
>> dave.allured at noaa.gov> wrote:
>>
>>> Lijing,
>>>
>>> It appears there is a mistake in the install instructions for Mac OS:
>>>
>>>     http://www.ncl.ucar.edu/Download/macosx.shtml
>>>
>>> This page tells you to run the ng4ex command before installing NCL.
>>> Actually, you must complete steps 1 through 4 on the general NCL binary
>>> install page, before the ng4ex command will work.  ng4ex is part of NCL:
>>>
>>>     http://www.ncl.ucar.edu/Download/install.shtml
>>>
>>> When you click on the XQuartz icon, an xterm window is the correct
>>> result.  So it looks like you already installed XQuartz correctly.
>>>
>>> Just finish the NCL binary install procedure, steps 1-4, especially
>>> setting the PATH variable.  Then go back to the specific instructions for
>>> Mac OS, starting with the ng4ex test.
>>>
>>> --Dave
>>>
>>>
>>>
>>> On Mon, Aug 28, 2017 at 1:43 PM, Cheng Lijing <chenglij at mail.iap.ac.cn>
>>> wrote:
>>>
>>>>
>>>> Hi all
>>>>
>>>>
>>>>     I’ve installed XQuartz (XQuartz-2.7.11.gmg) to my mac (OS X
>>>> Yosemite 10.10.5).. However, when I type in the terminal window:
>>>>
>>>> ng4ex xy01n -clean
>>>>
>>>>     The error comes out:
>>>>
>>>> -bash: ng4ex: command not found
>>>>
>>>>
>>>>     How can I do with this? Since XQuartz is the first step installing
>>>> NCL in Mac…I suppose my XQuartz has been installed corrected because when I
>>>> click the icon of XQuartz, it comes out a xterm window.
>>>>
>>>>
>>>> thanks
>>>>
>>>>
>>>> Lijing
>>>>
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20170829/ea55ac61/attachment.html>


More information about the ncl-install mailing list