[ncl-install] ncl -V error: dyld: Library not loaded: @rpath/libcblas.3.dylib
Vanessa Vincente
vincente at ucar.edu
Mon Oct 19 08:53:08 MDT 2020
Hello Mae,
Thanks so much for your help. Installing NCL via Anaconda seems to have
resolved my issue with
"dyld: Library not loaded: @rpath/libcblas.3.dylib". I am able to run the
tests for NCL after installation, and they are working now.
Cheers,
Vanessa
On Tue, Oct 13, 2020 at 7:20 PM Marieanne Leong <marieanneleong at gmail.com>
wrote:
> Hi Vanessa,
>
> I've had issues with installing NCL via miniconda previously. So someone
> from the NCL community suggested me to install via anaconda instead.
>
> I'm not sure if you want to go ahead with Anaconda, but if you do, here
> are the steps.
>
> This solution involves installing anaconda via the command-line, instead
> of the graphical installer.
>
>
> You may download the command-line version of the installers from here:
> https://docs.anaconda.com/anaconda/install/mac-os/
>
>
> Here are the steps:
>
> 1. Make the anaconda installer executable for all users by typing
>
> chmod a+x /path/to/Anaconda3-2020.07-MacOSX-x86_64.sh
> <http://anaconda3-2020.07-macosx-x86_64.sh/>
>
> 2. To install anaconda, type
>
> sudo bash /path/to/Anaconda3-2020.07-MacOSX-x86_64.sh
> <http://anaconda3-2020.07-macosx-x86_64.sh/>
>
> At this point, you may check the output from
> ls /opt
> and make sure that anaconda3 is installed in /opt directory.
>
> 3. Make the /opt/anaconda3 directory writable for your account, type
>
> sudo chgrp -R staff /opt/anaconda3
>
> 4. Then, set ‘Read and Write’ permission for the root and staff group
> only by typing
>
> sudo chmod 770 -R /opt/anaconda3
>
> In case you are having issues with this, i.e. getting an error message
> ‘chmod: -R: No such file or directory’, then try to do it manually from
> Finder. You may refer here (
> https://eclecticlight.co/keychains-permissions/) for more information
> (see labels 1, 2 and 3 in red on the last figure in the website)
>
> In the Finder, select ‘Go’, then ‘Go to Folder’.
> Type /opt, then hit Enter.
> Right click /anaconda3 folder > Get Info.
> At the very bottom, click on the padlock and key in your password.
> Then, at the Privilege, make them have the following setting:
> system : Read and Write
> staff : Read and Write
> everyone: Read only
>
> 5. Delete* the file ~/.bash_profile, and then create an empty one. Type
>
> rm ~/.bash_profile
> touch ~/.bash_profile
>
> * Note: If you have other settings in your ~/.bash_profile, DO NOT
> delete your ~/.bash_profile. Just open ~/.bash_profile and remove the
> portion about anaconda setting that begins and ends with # >>> condo
> initialize >>>.
>
> 6. Recreate the anaconda setting in ~/.bash_profile by typing
>
> source /opt/anaconda3/bin/activate
> conda init
>
> 7. Next, logout from the Mac OS or restart the computer.
>
> 8. Check existing environments in anaconda, type
>
> conda env list
>
> You should only have
> base * /opt/anaconda3
>
> 9. Create ncl environment and install ncl, type
>
> conda create -n ncl -c conda-forge ncl
>
> Type ‘y’ to install all the other libraries associated with the
> installation
>
> In case you are faced with writing permissions at this stage, check
> that you have the Read & Write permission as specified in #4.
>
> 10. Once it is installed, type
>
> conda activate ncl
>
> 11. Under the prompt, type
>
> ncl
>
> to check that it is working.
>
> In case you encounter errors when running an ncl script on the terminal
> (e.g. ‘ncl script.ncl’), check your script and ensure that you don’t load
> any ncl libraries in the script. In NCL Version 6.2.0 and above, these
> libraries are automatically loaded so there is no need to include them in
> the script.
>
>
> Hope that helps.
>
> Best,
> Mae
>
> On Wed, Oct 14, 2020 at 7:39 AM Vanessa Vincente via ncl-install <
> ncl-install at mailman.ucar.edu> wrote:
>
>> Hello ncl-install Team,
>>
>> I am having issues with running ncl on my MacOS High Sierra.
>>
>> I have executed the command:
>> source activate ncl_stable
>>
>> Then:
>> ncl -V
>>
>> And the following shows:
>> dyld: Library not loaded: @rpath/libcblas.3.dylib
>> Referenced from: /Users/Vanessa/miniconda3/envs/ncl_stable/bin/ncl
>> Reason: image not found
>> Abort trap: 6
>>
>> I noticed a message in the ncl archives about trying the following
>> command:
>> conda install -c conda-forge -n ncl_stable libgcc
>>
>> I tried the command, and the following shows:
>> Collecting package metadata (current_repodata.json): done
>> Solving environment: done
>> # All requested packages already installed.
>>
>> I tried the command ncl -V again, and the same issue showed.
>>
>> Can you please help with this missing library?
>>
>> Thanks for your help!
>> Vanessa
>>
>> --
>> Vanessa Vincente
>> Associate Scientist
>> The COMET® Program
>> University Corporation for Atmospheric Research
>>
>> *My working hours may differ from your own. Please do not feel obligated
>> to reply outside of standard business hours.*
>> _______________________________________________
>> ncl-install mailing list
>> List instructions, subscriber options, unsubscribe:
>> https://mailman.ucar.edu/mailman/listinfo/ncl-install
>
>
--
Vanessa Vincente
Associate Scientist
The COMET® Program
University Corporation for Atmospheric Research
*My working hours may differ from your own. Please do not feel obligated
to reply outside of standard business hours.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-install/attachments/20201019/2ac8d6fc/attachment.html>
More information about the ncl-install
mailing list