[ncl-install] NCL install problem
Mary Haley
haley at ucar.edu
Wed Aug 30 09:01:56 MDT 2017
Hi Lijing,
You might benefit from installing NCL via conda instead:
http://www.ncl.ucar.edu/Download/conda.shtml
If you don't want to do this, then I need to have you type some UNIX
commands so I can try to figure out what's going on with your environment:
which gcc
which gfortran
gcc --version
gfortran --version
find /usr/local/lib -name 'libgomp.*' -print
find /opt/local/lib -name 'libgomp.*' -print
env | grep NCARG
ncl -V
which ncl
otool -L `which ncl`
Thanks,
--Mary
On Tue, Aug 29, 2017 at 4:16 PM, Cheng Lijing <chenglij at mail.iap.ac.cn>
wrote:
>
> The version has already updated…. Is that because my Mac is OS X Yosemite
> 10.10.5, rather than 11?
>
>
> chengdeMBP:~ cheng$ gcc --version
>
> gcc (GCC) 7.1.0
>
> Copyright (C) 2017 Free Software Foundation, Inc.
>
> This is free software; see the source for copying conditions. There is NO
>
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
>
> chengdeMBP:~ cheng$ gfortran --version
>
> GNU Fortran (GCC) 7.1.0
>
> Copyright (C) 2017 Free Software Foundation, Inc.
>
> This is free software; see the source for copying conditions. There is NO
>
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
>
>
> 原始邮件
> *发件人:* Mary Haley<haley at ucar.edu>
> *收件人:* Cheng Lijing<chenglij at mail.iap.ac.cn>
> *抄送:* ncl-install at ucar.edu<ncl-install at ucar.edu>
> *发送时间:* 2017年8月29日(周二) 16:07
> *主题:* Re: [ncl-install] NCL install problem
>
> 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/20170830/13d0fed3/attachment-0001.html>
More information about the ncl-install
mailing list