[ncl-install] Conda Install Report [UPDATE]
Maricel Etchegaray Centeno
maricel.etchegaray at gmail.com
Wed Mar 16 13:36:19 MDT 2016
Please,
remove me from the distribution list.
regards
On Wed, Mar 16, 2016 at 4:30 PM, Kevin Hallock <hallock at ucar.edu> wrote:
> Some of those variables *do* take precedence over $NCARG_ROOT. Those
> variables serve a purpose in this case because the Red Hat package
> maintainers choose to separate files provided by NCL into different paths
> (/usr/lib64/ncarg, /usr/share/ncarg, …) rather than keeping everything in a
> single directory (“$CONDA_ENV_PATH/lib/ncarg" in our case). As such, I do
> not believe this to be a bug in the Red Hat ncl-6.3.0 package, but rather
> an incomplete configuration of environment variables within the conda
> environment which should ideally be set automatically.
>
> Currently, only $NCARG_ROOT is set by the script
> $CONDA_ENV_PATH/etc/conda/activate.d/ncl-activate.sh, which is sourced as
> part of the “source activate ${env_name}” process. I will update the
> ncl-activate.sh and ncl-deactivate.sh scripts to set and unset the
> additional variables you mentioned in order to avoid conflicts like what
> you have experienced. This should allow for a seamless transition between
> your existing NCL runtime environment and your new Anaconda NCL environment
> without having to worry about environment variables.
>
> Please note that this will only help users who are able to run “source
> activate ${env_name}” (bash/sh/zsh only; csh/tcsh/ksh users will have to
> manually manage their environment variables).
>
> Thanks for the information,
> Kevin
>
>
> On Mar 16, 2016, at 12:29 PM, HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED <
> kevin.havener at us.af.mil> wrote:
>
> 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
> <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
> _______________________________________________
> 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/20160316/7b12c39b/attachment.html
More information about the ncl-install
mailing list