[ncl-talk] ncl install
Debasish Hazra
debasish.hazra5 at gmail.com
Mon Apr 25 09:21:26 MDT 2022
Thanks Gus.
Adding source /your/system/path/to/conda/etc/profile.d/conda.sh in .bashrc
solved the issue.
Debasish
On Mon, Apr 25, 2022 at 10:11 AM Gus Correa via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:
> Hi Debasish
>
> That can be a number of different problems,
> as the conda environment can be easily tangled.
> In any case, please see the suggestions below,
> and take them with a grain of salt.
>
> 1. Make sure your conda path and conda
>
> export PATH=/your/system/path/to/conda/bin:${PATH}
> source /your/system/path/to/conda/etc/profile.d/conda.sh
>
> The two lines above may be already in your .bashrc file,
> or it may have a different but equivalent set of commands
> that conda put there.
> If they are not, you can do them in your terminal/shell prompt.
>
> 2. conda activate ncl_stable
>
> This should work if you installed conda yourself.
> But see item 3 below, please.
>
> 3. If conda was installed by a system administrator,
> you may not have permission to write in the system conda installation.
> In this case, your ncl_stable environment may be somewhere in your home
> directory,
> probably under a hidden directory .conda or .python.
> Search your home directory with "ls -a" to find it.
> In this case look for the appropriate "env" subdirectory where ncl_stable
> is located.
> You may need to use the full path to activate ncl_stable, something like:
>
> conda activate /your/private/path/to/conda/etc/ncl_stable
>
> I hope this helps,
> Gus Correa
>
> On Sun, Apr 24, 2022 at 1:16 PM Adriana via ncl-talk <
> ncl-talk at mailman.ucar.edu> wrote:
>
>> Hi Deba
>>
>> When you used "conda create -n ncl_stable -c conda-forge ncl" you create
>> a ncl_stable enviremmont....
>> So you should activate this enviremmont like:
>> conda activate ncl_stable
>> and then:
>> source activate ncl_stable
>>
>> Hope that works.
>>
>>
>> Adriana
>>
>>
>>
>> Le 24/04/2022 13:32, Debasish Hazra via ncl-talk a écrit :
>> > One quick question, I have installed NCL using conda. But everytime I
>> > logout from the system, it does not recognise NCL anymore when I login
>> > back. So I have again run these two commands before NCL works again.
>> >
>> > conda create -n ncl_stable -c conda-forge ncl
>> > source activate ncl_stable
>> >
>> > I tried using "source activate ncl_stable" after login back and it did
>> > not work.
>> >
>> > Any help would be appreciated
>> >
>> > Thanks
>> > Deba
>> >
>> > On Thu, Apr 14, 2022 at 3:06 PM Debasish Hazra
>> > <debasish.hazra5 at gmail.com> wrote:
>> >
>> >> Hi Joseph,
>> >> I do not have root access to install gfortran. I will try Conda one
>> >> you have suggested.
>> >>
>> >> Thanks,
>> >>
>> >> Debasish.
>> >>
>> >> On Thu, Apr 14, 2022 at 11:25 AM Joseph Zambon <jbzambon at ncsu.edu>
>> >> wrote:
>> >>
>> >> Debasish,
>> >>
>> >> Have you tried installing with Conda (miniconda/Anaconda)? It is
>> >> much easier than any other option as it automatically installs all
>> >> required libs and other dependencies. See the docs here...
>> >>
>> >> https://www.ncl.ucar.edu/Download/conda.shtml
>> >>
>> >> The error you’re getting suggests you haven’t installed gfortran
>> >> (e.g. sudo apt-get install gfortran)
>> >>
>> >> -Joe
>> >>
>> >> Joseph B. Zambon, Ph.D.
>> >> Research Assistant Professor
>> >>
>> >> Ocean Observing and Modeling Group
>> >> Department of Marine, Earth and Atmospheric Sciences
>> >> North Carolina State University
>> >> Jordan Hall rm 4140
>> >> 919.515.7928
>> >> jbzambon at ncsu.edu
>> >> www.joezambon.com [1]
>> >>
>> >> On Apr 14, 2022, at 11:16, Debasish Hazra via ncl-talk
>> >> <ncl-talk at mailman.ucar.edu> wrote:
>> >>
>> >> Hi,
>> >> I am trying to install NCL 6.6.2 and downloaded pre-complled
>> >> ncl_ncarg-6.6.2-CentOS6.10_64bit_nodap_gnu447.tar.gz.
>> >>
>> >> But I am getting following error :
>> >> ncl
>> >> ncl: error while loading shared libraries: libgfortran.so.3: cannot
>> >> open shared object file: No such file or directory
>> >>
>> >> uname -a
>> >> Linux (77d9d02) x86_64 x86_64 x86_64 GNU/Linux
>> >>
>> >> Any help is appreciated
>> >>
>> >> Thanks
>> >> Debasish
>> >> _______________________________________________
>> >> ncl-talk mailing list
>> >> ncl-talk at mailman.ucar.edu
>> >> List instructions, subscriber options, unsubscribe:
>> >> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
>> >
>> >
>> > Links:
>> > ------
>> > [1] http://www.joezambon.com
>> > _______________________________________________
>> > ncl-talk mailing list
>> > ncl-talk at mailman.ucar.edu
>> > List instructions, subscriber options, unsubscribe:
>> > https://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>> --
>> Adriana Bossolasco
>> LPC2E UMR 7328 (CNRS, Université d'Orléans)
>> 3A avenue de la Recherche Scientifique
>> 45071 Orléans Cedex 2 - FRANCE
>> Tel +33 (0)2 38 25 52 85
>> e-mail: adriana.bossolasco at cnrs-orleans.fr
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at mailman.ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at mailman.ucar.edu
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20220425/50d414c0/attachment.html>
More information about the ncl-talk
mailing list