[ncl-install] NCL 6.4.0 at openSUSE Tumbleweed [solution]

David Adams dave.k.adams at gmail.com
Fri Dec 29 11:34:11 MST 2017


Hi Mary et al.
I was able to get 6.4.0 installed and working (but note strange error
message at end of email).

I followed what Fernando said
To recapitulate his steps


*# vi /etc/bash.bashrc.localexport PKG_CONFIG_PATH=/usr/lib64/*
*pkgconfig:/usr/local/lib/*
*pkgconfigexport LD_LIBRARY_PATH=/usr/local/**lib:/usr/local/lib64:/usr/*
*lib64:/lib64export CPATH=/usr/local/include:/usr/*




*include:/usr/include/linux/export NCARG_ROOT=/usr/local/ncargexport
PATH=$NCARG_ROOT/bin:$PATH## source /etc/bash.bashrc.local# ldconfig*



*get /usr/lib64/libgfortran.so.3# wget
https://rpmfind.net/linux/opensuse/update/leap/42.2/oss/x86_64/libgfortran3-6.2.1+r239768-5.5.2.x86_64.rpm
<https://rpmfind.net/linux/opensuse/update/leap/42.2/oss/x86_64/libgfortran3-6.2.1+r239768-5.5.2.x86_64.rpm>#
rpm -iv libgfortran3-6.2.1+r239768-5.*



*5.2.x86_64.rpmNCL Version 6.4.0 precompiled binaries (not
OPeNDAP-enabled)at
https://www.earthsystemgrid.org/dataset/ncl.640.nodap/file.html
<https://www.earthsystemgrid.org/dataset/ncl.640.nodap/file.html>get
ncl_ncarg-6.4.0-Debian8.6_*


*64bit_nodap_gnu492.tar.gz# mkdir /usr/local/ncarg# tar xvzf
ncl_ncarg-6.4.0-Debian8.6_**64bit_nodap_gnu492.tar.gz -C /usr/local/ncarg*

*NOTE:  # rpm -iv libgfortran3-6.2.1+r239768-5.*
*5.2.x86_64.rpm*


*did not work on my laptop, but apparently did not affect the installation.*
Then I used Jeremy´s suggestion


*ln -s /usr/lib64/libbz2.so.1.0.6 /usr/lib64/libbz2.so.1.0*
Then my installation was complete and works.
However, I get a strange warning message but doesn´t affect my routines..















*The use of this software is governed by a License Agreement. See
http://www.ncl.ucar.edu/ <http://www.ncl.ucar.edu/> for more
details.fatal:syntax error: line 4640 in file
/usr/share/ncarg/nclscripts/csm/shea_util.ncl before or near mreg_part_corr
function mreg_part_corr----------------------^fatal:Function identifier is
definedfatal:syntax error: line 4641 in file
/usr/share/ncarg/nclscripts/csm/shea_util.ncl before or near local
local----^fatal:error in statementfatal:Variable (x1) is
undefinefatal:["Execute.c":8640]:Execute: Error occurred at or near line
4643 in file /usr/share/ncarg/nclscripts/csm/shea_util.ncl*


thanks for all the help,
all the best for 2018,
Dave






On Wed, Dec 27, 2017 at 8:46 AM, Mary Haley <haley at ucar.edu> wrote:

> Dave,
>
> Our conda expert is out of the office and won't be able to respond right
> away.
>
> We've had numerous issues with conda-forge, because they've upgraded some
> of their software libraries, which are incompatible with the software
> libraries that NCL V6.4.0 depends on.
>
> Meanwhile, if you are anxious to get NCL installed, you can download a
> non-conda version, which won't have these issues.
>
> You can go to this page to download the appropriate binary for your system:
>
> http://www.ncl.ucar.edu/Download/index.shtml#Download
>
> For convenience, here's the direct to the OPeNDAP-enabled binaries:
>
> https://www.earthsystemgrid.org/dataset/ncl.640.dap/file.html
>
> and the non OPeNDAP ones:
>
> https://www.earthsystemgrid.org/dataset/ncl.640.nodap/file.html
>
> Once you get the appropriate binary for your system, this page tells you
> how to extract and install this binary. It's pretty straight-forward: you
> run the "tar -zxf" command, and then set NCARG_ROOT and PATH:
>
> http://www.ncl.ucar.edu/Download/install.shtml
>
> Good luck,
>
> --Mary
>
>
> On Tue, Dec 26, 2017 at 1:00 PM, David Adams via ncl-install <
> ncl-install at ucar.edu> wrote:
>
>> Hi Kevin, Fernando,
>> back to trying to install 6.4.  Still no luck.
>>
>> ncl_ncarg-6.4.0-Debian8.6_64bit_nodap_gnu492.tar.gz
>>
>> I get this error now.
>> ncl: error while loading shared libraries: libbz2.so.1.0: cannot open
>> shared object file: No such file or director
>>
>> locate libbz2.so.1.0  gives me
>>
>> /usr/lib/libbz2.so.1.0.6
>> /usr/lib64/libbz2.so.1.0.6
>>
>> I set $LD_LIBRARY_PATH
>>
>> echo $LD_LIBRARY_PATH  gives
>> /usr/lib64
>>
>> I tried
>> rpm -iv libgfortran3-6.2.1+r239768-5.5.2.x86_64.rpm
>>
>> warning: libgfortran3-6.2.1+r239768-5.5.2.x86_64.rpm: Header V3
>> RSA/SHA256 Signature, key ID 3dbdc284: NOKEY
>> error: Failed dependencies:
>>     libquadmath0 >= 6.2.1+r239768-5.5.2 is needed by
>> libgfortran3-6.2.1+r239768-5.5.2.x86_64
>>
>> so no sure what to try now.
>>
>> any thoughts.
>> saludos,
>> Dave
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Sat, Dec 9, 2017 at 9:08 AM, FO <fometeo at gmail.com> wrote:
>>
>>> Hi Kevin. Your answer to David Adams gave me a precious hint.
>>> So, here are some steps to get NCL 6.4.0 at openSUSE Tumbleweed
>>> The main thing was already done after all, the Debian binaries.
>>>
>>> # vi /etc/bash.bashrc.local
>>> export PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/local/lib/pkgconfig
>>> export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64:/usr/lib64:/lib64
>>> export CPATH=/usr/local/include:/usr/include:/usr/include/linux/
>>> export NCARG_ROOT=/usr/local/ncarg
>>> export PATH=$NCARG_ROOT/bin:$PATH
>>> #
>>> # source /etc/bash.bashrc.local
>>> # ldconfig
>>>
>>> get /usr/lib64/libgfortran.so.3
>>> # wget https://rpmfind.net/linux/opensuse/update/leap/42.2/oss/x86_
>>> 64/libgfortran3-6.2.1+r239768-5.5.2.x86_64.rpm
>>> # rpm -iv libgfortran3-6.2.1+r239768-5.5.2.x86_64.rpm
>>>
>>> NCL Version 6.4.0 precompiled binaries (not OPeNDAP-enabled)
>>> at https://www.earthsystemgrid.org/dataset/ncl.640.nodap/file.html
>>> get ncl_ncarg-6.4.0-Debian8.6_64bit_nodap_gnu492.tar.gz
>>>
>>> # mkdir /usr/local/ncarg
>>> # tar xvzf ncl_ncarg-6.4.0-Debian8.6_64bit_nodap_gnu492.tar.gz -C
>>> /usr/local/ncarg
>>>
>>> # ncl -V
>>> 6.4.0
>>>
>>> # ng4ex xy01n
>>> also works graphically
>>>
>>> Regards,
>>> Fernando
>>>
>>> _______________________________________________
>>> 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/20171229/b625d1f3/attachment.html>


More information about the ncl-install mailing list