[ncl-install] Conda Install Report [UPDATE]
HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED
kevin.havener at us.af.mil
Wed Mar 16 12:29:44 MDT 2016
I think I've figured out the problem with the conda install of ncl. I am using Fedora 23. The ncl-6.3.0 package for that platform available from the Redhat repository sets several NCAR_* environmental variables. Those confused the conda install by installing additional paths beside NCARG_ROOT, which the conda install/source activate did manage to change. In addition to NCARG_ROOT, the Fedora package sets:
NCARG_FONTCAPS
NCARG_GRAPHCAPS
NCARG_DATABASE
NCARG_LIB
NCARG_NCARG
And I think NCARG_LIB and NCARG_NCARG conflicted with the conda install. What NCARG environment variables should be set by the Fedora package? Just NCARG_ROOT, right. The others are from long, long ago, right?
If anyone else is following this, you have to uninstall the Fedora ncl package, and reboot. I could not locate where the rpm package sets the ncl environment variables. Or you can unset them for a single session. If anyone can clear up for me what the environment variables should be, I will file a bug report against the Red Hat package. They need to change their recipe.
After fixing this, the examples ran correctly. Now should I expect NCAR Graphics to work, because it didn't? It failed to build the cpex08.f file with:
F951: Internal compiler error: Illegal instruction.
According to "which gcc", it tried to use the 4.8.5 from the conda ncl_test environment and not the newer system gcc.
Kevin Havener
-----Original Message-----
From: ncl-install-bounces at ucar.edu [mailto:ncl-install-bounces at ucar.edu] On Behalf Of HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED
Sent: Wednesday, March 16, 2016 12:12 PM
To: ncl-install at ucar.edu
Subject: [ncl-install] Conda Install Report
I created an environment and installed ncl under my personal conda python 2.7.10 environment. Install went fine as far as I can tell.
Was surprised to see conda-ncl install a Python3 environment. Good job.
Tried to run the example suite as a test:
ncl -V: r16433 ;;expected
ng4ex gsun01n: resource </usr/share/ncarg/resfile> does not exist ;;unexpected
Shouldn't the test/example suite run? I did check to make sure that I was running the right ncl.
As an aside:
Same issue with pyngl/pynio. Install went well. Examples didn't run with "libjpeg.so.8 not found" during VD_create vdatas . Here I tried to run the examples by using the run-all-ex.sh in the ~/anaconda2/envs/pyngl_test/share directory. Seems like the pynglex script on the website is outdated/not included?
Kevin Havener
_______________________________________________
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