[ncl-install] ncl installation

Xin Wen xinwen at udel.edu
Wed Sep 29 10:08:27 MDT 2021


Hi Karin,

Thanks for this detailed explanation. Now I am able to set the
environment and path to the right directory.

When I test the ncl with ncl , it shows that
'dyld: Library not loaded: /usr/local/lib/libgfortran.4.dylib

  Referenced from: /Users/home/local/ncl-6.6.2/bin/ncl
  Reason: image not found'

However, I checked my gcc version and gfortran version are up to date

gcc (GCC) 10.2.0

GNU Fortran (GCC) 10.2.0


Best regards

Xin

Karin Meier-Fleischer <meier-fleischer at dkrz.de> 于2021年9月29日周三 上午2:43写道:

> Please, reply to the mailing list to keep others up to date.
>
> I hope you mean the .hluresfile file ;)
>
> You have to add the bin directory to the PATH environment variable - read
> https://www.ncl.ucar.edu/Download/install_from_binary.shtml
> You can find all information what is need in the documentation.
>
> "...
> Given your UNIX shell and using "/usr/local/ncl-6.6.2" as an example path,
> here's which "dot" file to edit and what lines to add (use a UNIX editor to
> make the changes):
>
> *csh/tcsh* (the file might be ".cshrc" or ".tcshrc"):
>
>     setenv NCARG_ROOT /usr/local/ncl-6.6.2
>     setenv PATH $NCARG_ROOT/bin:$PATH
>
> ..."
>
>
> -Karin
>
> Am 28.09.21 um 19:43 schrieb Xin Wen:
>
> This command works!!! now the 'env | grep NCARG' shows that
>
> NCARG_ROOT=/Users/home/local/ncl-6.6.2
>
>
> However, the ncl still does not work. I already add '.bluresfile' in my
> home directory.
>
>
> Xin
>
> Karin Meier-Fleischer <meier-fleischer at dkrz.de> 于2021年9月28日周二 下午12:31写道:
>
>> If you use tcsh you have to set the environment variable in a different
>> way 😉
>>
>>    setenv NCARG_ROOT /Users/home/local/ncl-6.6.2
>>
>> -Karin
>>
>> Am 28.09.21 um 19:17 schrieb Xin Wen:
>>
>> Hi Karin,
>>
>> Thanks for your reply, I was able to install ncl in another directory.
>> However, when I tried to set the environment, I put the command
>> 'NCAR_ROOT=/Users/home/local/ncl-6.6.2'
>> using terminal t-csh in the directory in which ncl was installed, it
>> returns that command not found.
>>
>> Xin
>>
>> Karin Meier-Fleischer via ncl-install <ncl-install at mailman.ucar.edu>
>> 于2021年9月28日周二 上午2:12写道:
>>
>>> Hi Xin,
>>>
>>> the directory /usr is owned by root and it seems to be that you do not
>>> have root permission.
>>>
>>> You can install NCL in another directory for example
>>>
>>>    mkdir $HOME/local/ncl-6.6.2
>>>
>>> At least you have to set the NCARG_ROOT environment variable to this
>>> directory
>>>
>>>    export NCARG_ROOT=$HOME/local/ncl-6.6.2
>>>
>>> Ciao,
>>> Karin
>>>
>>> Am 27.09.21 um 23:38 schrieb Xin Wen via ncl-install:
>>>
>>> Hi,
>>>
>>> I'm trying to install NCL on my MacOS. By now, I already finished steps
>>> of :
>>>
>>>    - Install XQuartz
>>>    - Install gcc and gfortran
>>>    - Go to list of available NCL binaries on the Climate Data Gateway
>>>    - Choose and download the right NCL binary for your MacOSX system
>>>
>>> When I try to install NCL from a downloaded binary, it recommends the
>>> following two command lines on the website.
>>>
>>>     mkdir /usr/local/ncl-6.6.2
>>>     tar -zxf ~/Downloads/ncl_ncarg-6.6.2-MacOS_10.13_64bit_gnu730.tar.gz -C /usr/local/ncl-6.6.2
>>>
>>> However, this 'mkdir /usr/local/ncl-6.6.2' permission was denied. Could you please help me with this?
>>>
>>> BTW, my gfortran version is 'GNU Fortran (GCC) 10.2.0', and gcc version is 'gcc (GCC) 10.2.0'
>>>
>>> Best regards,
>>>
>>> Xin
>>>
>>>
>>> _______________________________________________
>>> ncl-install mailing list
>>> List instructions, subscriber options, unsubscribe:https://mailman.ucar.edu/mailman/listinfo/ncl-install
>>>
>>>
>>> _______________________________________________
>>> ncl-install mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> https://mailman.ucar.edu/mailman/listinfo/ncl-install
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-install/attachments/20210929/9e5aac75/attachment-0001.html>


More information about the ncl-install mailing list